Problem using cout&cin

Tim Prince tprince@computer.org
Sat Nov 11 07:57:00 GMT 2000


----- Original Message -----
From: "Daniel Lidstrom" <danli97@ite.mh.se>
To: <cygwin@sources.redhat.com>
Sent: Saturday, November 11, 2000 3:47 AM
Subject: Problem using cout&cin


Hi,

I get the following error message when compiling a program with calls to
cout, cin, endl:
daniel lidström@DANIELS_MONSTER ~/opengl
$ gcc -o test test.cc
/cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x24):test.cc:
unde
fined reference to `cout'
.........
I did look in the faq but couldn't find help. I also searched the mail
archive.
What is missing?

gcc is not g++.  This must be discussed in the info files. Neither gcc nor
g++ are as free with mixed language programs as those "C/C++" compilers.


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



More information about the Cygwin mailing list