delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/30/10:45:14

Message-ID: <3DE86038.50408@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en, de, fr, ru, el, zh
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: iostream.h
References: <20021129211035 DOT 43718 DOT qmail AT web20704 DOT mail DOT yahoo DOT com>
Lines: 18
Date: Sat, 30 Nov 2002 06:53:01 GMT
NNTP-Posting-Host: 67.210.12.15
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread2.prod.itd.earthlink.net 1038639181 67.210.12.15 (Fri, 29 Nov 2002 22:53:01 PST)
NNTP-Posting-Date: Fri, 29 Nov 2002 22:53:01 PST
Organization: EarthLink Inc. -- http://www.EarthLink.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ernest Moran 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",

Your book is in error.  As long as C++ has had a standard, this has been
#include <iostream>
Notice
  (1) The angle brackets and
  (2) The absence of '.h'
Your book also probably forgets telling you that such things as 'cout' are 
in the 'std' namespace and so must have a 'std::' prefix or an appropriate 
'using' statement.




- Raw text -


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