This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with new "17.4.1.2" headers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]