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

-1

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

+4

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

+2

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

0

it isn't necessary

0

.h is for C

-2

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