delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/07/19:25:46

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 7 Sep 2003 19:25:15 -0400
Message-Id: <200309072325.h87NPFVf004875@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <bjgdhv$imfdp$1@ID-184581.news.uni-berlin.de>
(fausto_barbuto AT hotmail DOT com)
Subject: Re: IOSTREAM is deprecated. What now?
References: <bjgdhv$imfdp$1 AT ID-184581 DOT news DOT uni-berlin DOT de>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>     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>

using namespace std;

int main(void)
{
  cout << "hello" << endl;
  return 0;
}

- Raw text -


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