delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/29/17:16:24

From: "J. L." <jose DOT sanchezga AT imss DOT gob DOT mx>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: iostream.h
Date: Fri, 29 Nov 2002 16:08:39 -0600
Lines: 22
Message-ID: <h8ofuu8e5kuc0ev0ijfoae8dp0tnhbrk4m@4ax.com>
References: <20021129211035 DOT 43718 DOT qmail AT web20704 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: 200.34.143.17
Mime-Version: 1.0
X-Trace: fu-berlin.de 1038607728 26386042 200.34.143.17 (16 [143309])
X-Newsreader: Forte Agent 1.92/32.572 trialware
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 29 Nov 2002 13:10:35 -0800 (PST), Ernest Moran
<moranee AT yahoo DOT com> wrote:

>I'm using a book called "C++ weekend crash course" and 
>it comes with your compiler.  Because I'm using Win XP, 
>I decided to go to your web site a get the last version of 
>your compiler.  Here is my problem,  I'm using the RHIDE, 
>the book says to us "#include iostream.h", but when 
>I go to compile the program I get a Backward error.  
>Since this include file is not valid, What should I use 
>to replace it and not get this error?

You must use 

#include <iostream>

and prepend syt:: to your calls to cin cout.

Also, get a recent C++ book. The sintaxis in the book are you using is
deprecated by the C++ Standard.


- Raw text -


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