delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "Kushal Kumaran" <max_payne AT hotpop DOT com> |
To: | <djgpp AT delorie DOT com> |
Subject: | RE: Deprecated iostream.h trouble |
Date: | Fri, 24 Oct 2003 20:15:56 +0530 |
Message-ID: | <NHBBIOOPELAFBJKHDEBCMENKCAAA.max_payne@hotpop.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) |
Importance: | Normal |
In-Reply-To: | <20031024174054.91830.qmail@web41507.mail.yahoo.com> |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> -----Original Message----- > From: Jason Champion [mailto:xangis AT yahoo DOT com] > Subject: Deprecated iostream.h trouble > > This is the problem I'm trying to resolve: > ---- > <snip iostream.h deprecation warning> > ---- > > <snip 'cout undeclared' errors> > Read up on namespaces, and the std namespace in your favourite C++ textbook. You need to qualify references to stuff in the standard library with the std namespace, like so: std::cout << "DJGPP is cool" << std::endl; Also read up on using directives.. using namespace std; and using declarations.. using std::cout; using std::endl; > I seem to get strange text display glitches on occasion and > I suspect that dealing > with this might help. At the very least clearing up the > warning would give me some > peace of mind. The deprecated headers should not cause any strange text display glitches. I expect you will need to be more specific. > Thanks, > Xangis No problem, Kushal
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |