+ 2

Which is correct?? #include<iostream> or #include<iostream>.h

1st Jul 2016, 10:04 AM
Sumit Prasad
Sumit Prasad - avatar
11 Answers
+ 6
Nikesh: iostream.h is outdated. modern compilers wont allow you to put that. #include <iostream> is good.
1st Jul 2016, 11:40 AM
Garme Kain
Garme Kain - avatar
+ 4
in turbo cpp it is #include<iostream.h>
1st Jul 2016, 2:50 PM
raju
raju - avatar
+ 1
Garme already made the essential point... Turbo C++ has been discontinued since *2006*... So it's hopelessly outdated. I sincerely hope that you guys learn to program on other compilers as well... there better ones that are free...
1st Jul 2016, 3:27 PM
Stefan
Stefan - avatar
+ 1
guys use this compiler cppdroid for android's phone
4th Jul 2016, 6:00 PM
Mehdi Ojagh
Mehdi Ojagh - avatar
+ 1
#include<iostream>
5th Jul 2016, 5:23 PM
kanaha
kanaha - avatar
0
#include<iostream> is correct way....
4th Jul 2016, 10:31 AM
M R
0
in cppdroid #include<iostream>
4th Jul 2016, 5:59 PM
Mehdi Ojagh
Mehdi Ojagh - avatar
0
#include<iostream.h>
14th Jul 2016, 3:09 PM
Thejus
0
in Dev C++ you go for #include<iostream>
13th Aug 2017, 2:16 PM
Saksham Arora
- 2
K. Thanx
1st Jul 2016, 3:55 PM
Sumit Prasad
Sumit Prasad - avatar
- 2
#include"iostream. h" #include"iostream" #include<iostream. h> #include<iostream> as you like
2nd Jul 2016, 9:58 PM
Âshvin Solanki
Âshvin Solanki - avatar