0

hey can i use #include<iostream> instead of #include<iostream. h> in turbo c++ used in my college sys?

2nd Jul 2016, 3:00 PM
Bhavin Bopanna
Bhavin Bopanna - avatar
5 odpowiedzi
+ 1
yes and also"iostream"
2nd Jul 2016, 3:01 PM
Rajiv Singh
Rajiv Singh - avatar
0
thnx a lot.
2nd Jul 2016, 3:03 PM
Bhavin Bopanna
Bhavin Bopanna - avatar
0
that will give error but only in turbo c++ in modern compilers that is fine
2nd Jul 2016, 4:40 PM
Mukul Kumar
Mukul Kumar - avatar
- 1
in c++ all header file end with .h but you can run without .h of it run without any error then your teachers are right..
2nd Jul 2016, 3:03 PM
DEATH WALKER
DEATH WALKER - avatar
- 1
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:24 PM
Rahul Gaikwad (RAJRN)
Rahul Gaikwad (RAJRN) - avatar