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


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??


4/11/2017 6:20:33 AM

Ashwani Kumar

2 Answers

New Answer


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


thank u for the answer @hasty rei