From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems Date: Sun, 08 Mar 1998 16:49:11 +0200 Organization: Communications Accessibles Montreal, Quebec Canada Lines: 10 Message-ID: <3502AFE7.3FB6@cam.org> References: <3503100B DOT 1B72B57B AT jove DOT acs DOT unt DOT edu> NNTP-Posting-Host: dialup-575.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Tim Faehnle wrote: > C:\DJGPP\BIN\gcc -g -o test test.cc > c:/djgpp/tmp\ccdaaaaa: In function 'main': > test.cc:12: undefined reference to 'cout' > test.cc:(.text+0x49): undefined reference to > 'ostream::operator<<(double)' you are not linking the library. try gxx -g -o test test.cc -- --> http://www.cam.org/~tudor <--