0

why we can not use <iostream.h>

26th Dec 2016, 6:30 PM
suresh
2 Answers
+ 3
You can use iostream.h .The reason why it is not set as default is due to the fact that iostream.h is mainly set for C. iostream is set for C++.Although it is possible to use iostream.h on C++ ,it is slightly more limited and may cause bugs.
26th Dec 2016, 7:16 PM
Wen Qin
Wen Qin - avatar
0
You can use it. #include <iostream> using namespace std; int main() { cout << "Hello!"; }
26th Dec 2016, 6:49 PM
Vladislav
Vladislav - avatar