+ 2
Will a code run successfully if I add "<iostream>" only on computer?
What will happen if I use "<iostream.h>
3 Answers
+ 11
I believe <iostream.h> is obsolete on desktop compilers as well. It was deprecated by the compilers which previously provided it in pre-standard C++.
+ 10
<iostream> is the C++ standard, and is what evolved from <iostream.h>. It will work on all C++ compilers up to date.
0
it is on the base of the software that you are using
If you are using geany there no need of adding .H to header file.But if you are using C++turbo .H is must