Mail Archives: djgpp/1997/02/27/06:35:20
eNeRGy SouRCe (energy AT ricb DOT demon DOT co DOT uk) wrote:
[code snipped]
: When I compile the above program, or any program using
: input/output stream, I get the following messages. Anyone
: know what the prob could be?
: c:/djgpp/tmp\ccdaaaaa(.text+0x10):test.cc: undefined reference
: to`cout'
: c:/djgpp/tmp\ccdaaaaa(.text+0x15):test.cc: undefined reference to
: `ostream::operator<<(int)'
You must also link the iostream library (see FAQ about using gxx
instead of gcc).
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -