0
Can we use iostream.h
3 Réponses
+ 6
You should not use iostream.h in c++ because that header doesn't exist in standard C++. It was part of some pre-1990s compilers, but it is certainly not part of C++.
Use #include <iostream> instead. And all the library classes are in the std:: namespace, for example std::cout.
+ 2
Martin Taylor yup. you did