delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/09/09:31:50

Date: Sat, 9 Jun 2001 16:17:16 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Dave Lemmens <dave AT dl-mail DOT dhs DOT org>
Cc: djgpp AT delorie DOT com
Subject: Re: can't use cout?
In-Reply-To: <z8nU6.14958$y7.129427@dbsch1.home.nl>
Message-ID: <Pine.A41.4.05.10106091616410.115862-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Sat, 9 Jun 2001, Dave Lemmens wrote:

> I used DJGPP + RHIDE before, it worked great!
> But now I want to compile a program (very easy one)
> it doesn't work.
> 
> Example:
> __________________________
> #include <io.h>
> 
> int main()
> {
> cout << "test";
> return 0;
> }
> ___________________________
> This doesn't work ;-(((
> 

Use

#include <iostream>

instead of '#include <io.h>' 

- Raw text -


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