c++ compling error

Namsuk Kim nskim@wa.freei.net
Wed Aug 4 14:17:00 GMT 1999


hi,

I have just installed gygnus.  However, when I test gcc with a simple "hello
world" gives "undefined reference to 'cout' error.

#include <iostream>
void main()
{
    cout << "hello world\n";
}

mingw32 gives the same result.  Version doesn't seem to be the matter.
Waiting for your help.

Thanks,

namsuk




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list