From: Jeff Lee Newsgroups: comp.os.msdos.djgpp Subject: Problem with cout Date: Fri, 21 Aug 1998 23:02:49 -0700 Organization: University of California, Berkeley Lines: 14 Message-ID: <35DE5F09.714D072B@uclink4.berkeley.edu> NNTP-Posting-Host: lal-99-145.reshall.berkeley.edu 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 I tried compiling a simple "Hello world" program using cout and gcc gave me undefined references to both "cout" and "ostream:operator<<(char const *)". I'm pretty sure gcc is able to get iostream.h right, because I've successfully compiled a program that did nothing but include iostream.h. Does anybody know what's wrong with this cout? -- Jeff Lee mrjlee AT uclink4 DOT berkeley DOT edu