Sender: nate AT cartsys DOT com Message-ID: <35DF2A13.5E526638@cartsys.com> Date: Sat, 22 Aug 1998 13:29:07 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Jeff Lee CC: djgpp AT delorie DOT com Subject: Re: Problem with cout References: <35DE5F09 DOT 714D072B AT uclink4 DOT berkeley DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Jeff Lee wrote: > > 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? Use `gxx' instead of `gcc'. -- Nate Eldredge nate AT cartsys DOT com