Why we put .h in it <iostream.h> | Sololearn: Learn to code for FREE!


Why we put .h in it <iostream.h>

i mean that why we put .h in < iostream.h>

10/22/2016 8:05:40 PM

Rohit Gupta

5 Answers

New Answer


At least for my compiler, you don't actually need the '.h'; you can just use <iostream>


iostream.h is deprecated by those compilers that provide it, iostream is part of the C++ standard. Anyway <iostream.h> is old and some compilers does not support it


it isn't necessary


.h is for C


it's a library function. with out it you can't run your program