delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/28/15:30:13

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: questions/help with c++ compiling
Date: 28 Sep 2002 19:18:39 GMT
Organization: Cornell University
Lines: 25
Sender: asu1 AT cornell DOT invalid (on pool-141-149-208-37.syr.east.verizon.net)
Message-ID: <Xns92979BC0860C8asu1cornelledu@132.236.56.8>
References: <5 DOT 1 DOT 1 DOT 6 DOT 0 DOT 20020923181520 DOT 00be2b48 AT imss DOT gob DOT mx> <an3c80$a6u92$1 AT ID-49635 DOT news DOT dfncis DOT de>
NNTP-Posting-Host: pool-141-149-208-37.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1033240719 7776 141.149.208.37 (28 Sep 2002 19:18:39 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 28 Sep 2002 19:18:39 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Thomas Mueller" <tmueller AT bluegrass DOT net> wrote in
news:an3c80$a6u92$1 AT ID-49635 DOT news DOT dfncis DOT de: 

> from "J. L." <jlsgarrido AT SoftHome DOT net>:
> 
>> >#include <iostream.h>
> 
>> This is deprecated. Better use
> 
>> #include <iostream>
>> use namespace std;
> 
> What is the actual header file name?  Is it iostream or iostream.h ?
> On my computer, with DJGPP 2.03, and I think the gcc version is 2.95,
> all the header files end in .h, including iostream.h .

the C++ standard specifies that the correct header is <iostream>. gcc 3 
adheres to the standard more closely than the gcc 2.

Sinan.
-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


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