No, e' proprio un errore del codice, obsoleto. Ho trovato la stessa cosa su un forum della Suse:

the warning is because iostream.h is obsolete you should use iostream and
you then must define the namespace std.

If your C++ book uses iostream.h it is old and you should get another book

so your program should be like that:

#include <iostream>

using namespace std;

int main()
{
cout<<"Hello World"<<endl;
return 0;
}
un altro modo corretto è anche questo:

codice:
#include <iostream>

int main() {
  std::cout << "hello World !\";
}

E' una risposta a questa domanda qui, praticamente identica alla mia:

http://lists.suse.com/archive/suse-p...-May/0102.html





Ciao!