What is the difference between <iostream> and <iostream.h>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between <iostream> and <iostream.h>?

24th Sep 2016, 6:27 AM
Hemprasanth Karunakaran
Hemprasanth Karunakaran - avatar
1 Answer
0
We used iostream .h before namespaces were introduced. So if you have a iostream .h file lying around, you can still include it. But it wont be in the std global namespace. iostream .h is deprecated by those compilers that provide it, iostream is part of the C++ standard. if you setisfied,please like
22nd Oct 2016, 9:22 PM
Shah Zaib
Shah Zaib - avatar