***********************************************
#include <iostream.h>
main()
{
cout << "Hello World! ";
}
**********************************************
--- I type (as root) :
# gcc hello.c -o helloprog
--- and get these errors :
hello.c:1:22: iostream.h: No such file or directory
hello.c: In function `main':
hello.c:6: error: `cout' undeclared (first use in this function)
hello.c:6: error: (Each undeclared identifier is reported only once
hello.c:6: error: for each function it appears in.)
also I did a quick search for iostream.h and found it under /usr/include/c++/3.3/backward/iostream.h
but I still got the same error message that it could not be found!!
can anyone help? Am I doing something really stupid or is something improperly installed?
thanks
Mike
