Why .h is not used in header ? | Sololearn: Learn to code for FREE!

+1

Why .h is not used in header ?

when i learned c++ while studying in the school i learned the syntax of header as... #include<iostream.h>....but '.h' is not used nowadays why??

c++

4/11/2017 6:20:33 AM

Ashwani Kumar

2 Answers

New Answer

+11

Please refer to this link. <iostream.h> was part of the pre-standard C++, which has now been deprecated by most modern compilers. https://www.sololearn.com/Discuss/288609/?ref=app

0

thank u for the answer @hasty rei