delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/23/07:45:04.1

From: "Daniel Noorduin" <w DOT noorduin AT chello DOT nl>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020723080228 DOT 28370C-100000 AT is>
Subject: Re: C++ Problem
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <X9b%8.1034150$yP6.33807330@Flipper>
Date: Tue, 23 Jul 2002 11:33:11 GMT
NNTP-Posting-Host: 212.187.58.222
X-Complaints-To: abuse AT chello DOT nl
X-Trace: Flipper 1027423991 212.187.58.222 (Tue, 23 Jul 2002 13:33:11 MET DST)
NNTP-Posting-Date: Tue, 23 Jul 2002 13:33:11 MET DST
Organization: Chello Broadband
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > C:/djgpp/lang/cxx-v31/backward/iostream.h(31) In file included from
> > C:/djgpp/lang/cxx-v31/backward/iostream.h:31
> > C:/djgpp/lang/cxx-v31/backward/backward_warning.h(32) Error: 2: warning
This
> > file includes at least one antiquated header.... etc. To disable this
> > warning use -Wno-deprecated.
>
> For the second problem, use <iostream> instead of <iostream.h>.

I already tried that. It recognizes the name iostream but goes on
complaining about the iostream functions I use. Since I'm new to C++ it
might very well be something i overlooked or some other stupid mistake on my
part. I copied the example program code straight from a tutorial written
especially for RHIDE and DJGPP, so I assumed it would work if i could only
manage to set up my compiler. Anyway here's what it says this time (with
iostream instead of iostream.h):

Error: cout undeclared (first use in this function)
Error: endl undeclared (first use in this function)
Error: (Each undeclared identifier is reported only once for each function
it appears in)





- Raw text -


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