Why #include<iostream> is used instead of #include<iostream.h> in solo learn online compiler? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why #include<iostream> is used instead of #include<iostream.h> in solo learn online compiler?

5th May 2017, 7:21 AM
Pandidurai
3 Answers
+ 5
cause iostream.h is old. your teacher needs updating
5th May 2017, 7:23 AM
jay
jay - avatar
+ 15
<iostream.h> belongs to Turbo C++ (which is obsolete). <iostream> is the standard C++ header. Please refer: https://www.sololearn.com/Discuss/288609/?ref=app
5th May 2017, 8:42 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
Seems a very common question coming out of India. Are they are teaching old stuff in Colleges? Hope the courses are cheap. :(
5th May 2017, 8:54 AM
jay
jay - avatar