delorie.com/archives/browse.cgi | search |
Sender: | nate AT cartsys DOT com |
Message-ID: | <35DF2A13.5E526638@cartsys.com> |
Date: | Sat, 22 Aug 1998 13:29:07 -0700 |
From: | Nate Eldredge <nate AT cartsys DOT com> |
MIME-Version: | 1.0 |
To: | Jeff Lee <mrjlee AT uclink4 DOT berkeley DOT edu> |
CC: | djgpp AT delorie DOT com |
Subject: | Re: Problem with cout |
References: | <35DE5F09 DOT 714D072B AT uclink4 DOT berkeley DOT edu> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |