Header file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Header file

some people write #include <iostream.h> but when I write the program will error why ?

15th Dec 2016, 1:26 PM
Aman Khan
Aman Khan - avatar
3 Answers
+ 1
iostream is a standard header. iostream.h is a non-standard header that was very common in pre-standard c++, and is what iostream evolve from . its still common to have iostream.h around , presumably for use with older programs
15th Dec 2016, 1:38 PM
Mock
Mock - avatar
0
thank you for reply
15th Dec 2016, 1:56 PM
Aman Khan
Aman Khan - avatar
0
welcome sir !
15th Dec 2016, 1:59 PM
Mock
Mock - avatar