+ 1

#include<iostream.h>

In sumita arora class 11 computer science book they are using the above statement to start but in this app if I write the above mentioned line it shows error please explain me why????

23rd Jun 2016, 12:46 PM
Akshay Kumar
Akshay Kumar - avatar
5 Answers
+ 6
The cause might be that the C++ used here is more modern. Actually, the iostream header has been renamed to just "iostream" instead of "iostream.h" for years now. Caution: you might be learning from an outdated source.
23rd Jun 2016, 1:47 PM
Stefan
Stefan - avatar
+ 2
thank you very much for your answers
24th Jun 2016, 12:29 PM
Akshay Kumar
Akshay Kumar - avatar
0
try using only iostream, as .h is used in c language only now
23rd Jun 2016, 6:45 PM
shashank goud
shashank goud - avatar
0
It's my pleasure :-)
24th Jun 2016, 12:31 PM
Stefan
Stefan - avatar
0
Haha. You need to stop learning whatever that book is because as Stefan said it's way very old c++ you are learning.
26th Jun 2016, 1:09 PM
Yuri Jack
Yuri Jack - avatar