Problems with new "17.4.1.2" headers

Jens-Michael Hoffmann jensmh@gmx.de
Thu Feb 20 23:45:00 GMT 2003


Brian Nelson writes:

> I create a generic hello world program, with #include <iostream> and a cout
> command, and when i compile, I get :
>
> hello.cc: In function `int main()':
> hello.cc:5: `cout' undeclared (first use this function)

you could try std::cout.

Jens-Michael



More information about the Gcc-bugs mailing list