This #include <iostream>
is standard c++, any modern compiler will accept it.
If you find you have to use #include <iostream.h>
, the compiler is non-standard, and out of date.
There are only a few that you need the .h for like windows.h and conio.h which are not standard libraries.