iostreams won't work
Fri Apr 25 01:17:00 GMT 1997
Matthew Mueller[SMTP:email@example.com] wrote:
>when I try to compile this program:
[snip: program using iostreams]
>I get this error:
>C:\WIN95\TEMP/cc0010001.o(.text+0x1a):test.cc: undefined reference to `cout'
Try "gcc test.cpp -liostreams" or "gcc test.cpp -lstdc++" to link in a
library which contains iostreams. They are not linked by default.
The actual strange thing is that g++ doesn't seem to link these by
default either (correct me if I'm wrong).
-- Colin Peters - firstname.lastname@example.org
-- Saga University Dept. of Information Science
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".
More information about the Cygwin