delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/22/19:07:40

Date: Thu, 22 Jan 1998 16:01:26 -0800 (PST)
Message-Id: <199801230001.QAA22980@adit.ap.net>
Mime-Version: 1.0
To: Tomasz Ostrowski <to167298 AT zodiac2 DOT mimuw DOT edu DOT pl>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: cout problem

At 10:10  1/22/1998 +0100, Tomasz Ostrowski wrote:
>I'm trying to compile file tmp.cpp:
>
>	#include <iostream.h>
>	int main()
>	  {
>	   cout<<"Hello world!";
>	  }
>
>but compiler reports errors:
>
>c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x1e):tmp.cc: undefined reference to `cout'
>c:/jezyki/djgpp/tmp\ccdaaaaa(.text+0x23):tmp.cc: undefined reference to
`ostream
>::operator<<(char const *)'
Use the `gxx' command to link, instead of `gcc'. Had you read the README.1ST
file, you would know this.
[snipped]
>My problem is the following:
>============================
>
>
>Rhide crashes.
Huh? Is this another problem, or what?

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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