From: "Daniel Noorduin" Newsgroups: comp.os.msdos.djgpp References: 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: 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 instead of . 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)