www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/12:03:02

Date: Mon, 11 May 1998 19:02:44 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: darrylwright AT bigfoot DOT com
cc: djgpp AT delorie DOT com
Subject: Re: Undefined cout???
In-Reply-To: <35570b2d.11123065@news.nbnet.nb.ca>
Message-ID: <Pine.SUN.3.91.980511190125.20831E-100000@is>
MIME-Version: 1.0

On Mon, 11 May 1998 darrylwright AT bigfoot DOT com wrote:

> c:/djgpp/tmp/cccyzcxf(.text+0x1c6):hello.cpp: undefined reference to
> `cout'
> c:/djgpp/tmp/cccyzcxf(.text+0x1cb):hello.cpp: undefined reference to
> `ostream::o perator<<(char const *)'

Did you use gpp or g++ to compile this?  If not, then this is a FAQ: C++ 
programs should be compiled using gpp, g++, or gxx (depends on the 
version of GCC that you have), not gcc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019