delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/26/09:29:29

Date: Sun, 26 Sep 1999 13:38:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ian <iharriso AT haverford DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Problem with C++ libraries in djgpp
In-Reply-To: <7sklom$aug$1@winter.news.rcn.net>
Message-ID: <Pine.SUN.3.91.990926133429.1462H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 26 Sep 1999, Ian wrote:

> # inlcude <iostream.h>
> 
> main()
> {
>  cout << "hello" << endl;
> }
> 
> When I tried to run it, I recieved what seems to be about 100 errors relating 
> to the syntax of iostream.h and the libraries that it calls.  These include 
> parse errors, undefined variables, and conflicting types for some variables.  
> It seems that there is something wrong with the libraries that came with 
> djgpp.

No, it's most probably your own usage errors.  The DJGPP FAQ list explains
in sections 8.2 and 8.4 some common cases for similar problems.  If you
can't figure it out, please post here the exact command line that you used
to compile your program, and somebody will help you out. 

- Raw text -


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