From: energy AT ricb DOT demon DOT co DOT uk (eNeRGy SouRCe) Newsgroups: comp.os.msdos.djgpp Subject: undefined reference to 'cout' Date: Sat, 22 Feb 1997 23:40:29 GMT Organization: DATA DiViSi0N Message-ID: <330f817b.1519135@news.demon.co.uk> NNTP-Posting-Host: ricb.demon.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp #include main() { int x; cout << x; } 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)' ----eNeRGy-SouRCe---- [SiGNiTURE CURRENTLY UNDER CONSTRUCTiON]