+ 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????
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.
+ 2
thank you very much for your answers
0
try using only iostream, as .h is used in c language only now
0
It's my pleasure :-)
0
Haha. You need to stop learning whatever that book is because as Stefan said it's way very old c++ you are learning.