Why they use the header file iostream predominantly, here? Why not iostream.h? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why they use the header file iostream predominantly, here? Why not iostream.h?

12th Nov 2018, 4:27 PM
Mathew J James
Mathew J James - avatar
3 Answers
+ 3
https://stackoverflow.com/questions/2976477/difference-between-iostream-and-iostream-h iostream.h was never part of the C++ standard, but it was used by early compilers. The standard C++ include files don't have ".h" in their name. THIS IS NOT C!!
12th Nov 2018, 6:31 PM
Udi Finkelstein
Udi Finkelstein - avatar
+ 1
For faster compilation
12th Nov 2018, 4:39 PM
कामेश
कामेश - avatar
+ 1
For standard namespaces and for new compilers like Dev c++ use without.h in big project without.h matters because it will compile fast
12th Nov 2018, 4:44 PM
कामेश
कामेश - avatar