Why .h is not used in header ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 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??

11th Apr 2017, 6:20 AM
Ashwani Kumar
Ashwani Kumar - avatar
2 Respostas
+ 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
11th Apr 2017, 6:21 AM
Hatsy Rei
Hatsy Rei - avatar
0
thank u for the answer @hasty rei
11th Apr 2017, 6:25 AM
Ashwani Kumar
Ashwani Kumar - avatar