+ 1

why we do not use .h after iostream

2nd Jul 2016, 6:37 AM
devesh dangi
4 Respuestas
+ 2
cuz i believe this is for old compilers or for C/C# we are dealing with C++ here a new version too
2nd Jul 2016, 7:18 AM
ElemmentCG
+ 1
if you don't writes it then also it works
2nd Jul 2016, 11:53 AM
Rajiv Singh
Rajiv Singh - avatar
0
The compiler automatically puts .h if it doesn't exist.
5th Jul 2016, 8:10 PM
Mihai Dancaescu
Mihai Dancaescu - avatar
0
remember, if you want.. #include<iostream> then always write after using namespace std; this line. otherwise, if you are written.. #include<iostream.h> then no need above line. in short, without header .ext file you must need that line unless simple it. thank you.
5th Jul 2016, 8:28 PM
Rahul Gaikwad (RAJRN)
Rahul Gaikwad (RAJRN) - avatar