0

Can we use iostream.h

27th Nov 2020, 8:23 AM
Shivani Kodape
Shivani Kodape - avatar
2 Respostas
+ 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 ex­am­ple std::cout.
27th Nov 2020, 8:27 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
Martin Taylor yup. you did
27th Nov 2020, 10:48 AM
Rellot's screwdriver
Rellot's screwdriver - avatar