Whats the difference between iostream.h and iostream ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Whats the difference between iostream.h and iostream ??

I m a beginner need help

6th Sep 2018, 2:17 PM
i_izhar03
i_izhar03 - avatar
1 Answer
+ 1
If your implementation have a working copy of iostream.h, it is probably the same as iostream except that everything in iostream is in the std namespace, while iostream.h generally preceded namespaces, and didn't use them. When C++ was first created, allof the files in the standard runtime library ended in .h.
6th Sep 2018, 3:23 PM
Mayur Shedage
Mayur Shedage - avatar