why we do not use .h after iostream | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 1

why we do not use .h after iostream

2nd Jul 2016, 6:37 AM
devesh dangi
4 Respostas
+ 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
+ 1
if you don't writes it then also it works
2nd Jul 2016, 11:53 AM
Rajiv Singh
Rajiv Singh - avatar
The compiler automatically puts .h if it doesn't exist.
5th Jul 2016, 8:10 PM
Mihai Dancaescu
Mihai Dancaescu - avatar
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