In my School I learned that I type iostream.h not iostream and using namespace std what is logic behind it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In my School I learned that I type iostream.h not iostream and using namespace std what is logic behind it

9th Nov 2017, 3:18 PM
ADITYA SETH
ADITYA SETH - avatar
1 Answer
+ 4
If I recall correctly, iostream.h is deprecated and you'll want to use iostream instead. I haven't been focused on C++ in years though, so don't quote me on that. #include <iostream>
9th Nov 2017, 3:24 PM
AgentSmith