www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/07/19:30:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en, de, fr, ru, el, zh
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: IOSTREAM is deprecated. What now?
References: <bjgdhv$imfdp$1 AT ID-184581 DOT news DOT uni-berlin DOT de>
In-Reply-To: <bjgdhv$imfdp$1@ID-184581.news.uni-berlin.de>
Lines: 20
Message-ID: <yTO6b.5085$BG6.4564@newsread1.news.atl.earthlink.net>
Date: Sun, 07 Sep 2003 23:08:14 GMT
NNTP-Posting-Host: 66.90.177.55
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.news.atl.earthlink.net 1062976094 66.90.177.55 (Sun, 07 Sep 2003 16:08:14 PDT)
NNTP-Posting-Date: Sun, 07 Sep 2003 16:08:14 PDT
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

Fausto Arinos Barbuto wrote:

>        
> Hi All;
> 
>     What header(s) should I use instead of IOSTREAM.H to avoid gpp
>     compilation warnings? (I know I can always use the -Wno-deprecated
>     switch, but that is silly IMO).

#include <iostream>

The (only) C++ standard does not use header names of the form <x.h>.
Even C headers of the form <x.h> are not usually used that way in C++, 
because of C++ namespace use, but are normally <cx> in C++.



-- 
Martin Ambuhl

- Raw text -


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