delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/04/10:11:05

From: Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: EASY QUESTION REQUIRES ANSWER!
Date: Sat, 23 Nov 1996 00:41:06 -0800
Organization: Academic Computer Centre Utrecht, (ACCU)
Lines: 19
Message-ID: <3296B8A2.54C5@stud.warande.ruu.nl>
References: <3296B05D DOT 76FF AT nlci DOT com>
NNTP-Posting-Host: warande1078.warande.ruu.nl
Mime-Version: 1.0
To: "Timothy M. Barnes" <zoom AT nlci DOT com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Timothy M. Barnes wrote:
> 
> I admit it, I am a newbie to DJGPP...
> 
> I recently installed the compiler on my windows 95 system. Everything
> seemed to be working fine until I tried to use the much needed iostream
> library. I didn't touch anything from the setup. I have no problems
> including the iostream.h, but the compiler won't even accept:
> 
>         cout << "Hello!";
> 
> Anyone know what the problem is? "cout" is undefined! Any help greatly
> appreciated.
> 

Compile with gxx instead of gcc; gxx knows where to find the C++ libraries.
With gcc you have to specify the C++ libs directly on the command line.

Elliott

- Raw text -


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