Date: Mon, 11 May 1998 19:02:44 +0300 (IDT) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.