delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/02/09:34:36

Date: Sun, 2 Nov 1997 16:30:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jos van Riswick <josvanr AT mbfys DOT kun DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: your mail
In-Reply-To: <199711021312.OAA15278@vitellius.mbfys.kun.nl>
Message-ID: <Pine.SUN.3.91.971102162707.11762B-100000@is>
MIME-Version: 1.0

On Sun, 2 Nov 1997, Jos van Riswick wrote:

>       I don't understand the last errormessages "undefined ref.
>       to 'cout'"??? This is c++ isn't it? Other c++
>       constructions like:  for ( int a=1; a<2; a++ ) etc. work
>       fine. I tried already using #include <stream.h> in stead
>       of iostream.h. Anybody know what I do wrong???

The FAQ knows, and you should read it.  In section 8.7 it explains why 
does this happen, and tells you to use gxx instead of gcc to link C++ 
programs.

The latest version of the FAQ is available as v2/faq210b.zip from the 
same place you get DJGPP.

- Raw text -


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