Date: Wed, 17 Jul 2002 21:11:03 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Diogo Abdalla" Message-Id: <3405-Wed17Jul2002211102+0300-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (mollsem@hotmail.com) References: 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 Precedence: bulk > From: "Diogo Abdalla" > Date: Wed, 17 Jul 2002 05:49:18 +0000 > > Well, following the instructions of a tutorial I wrote, in Rhide, this > little code: > #include > int main() > { > cout << "Hello!"; > return 0; > } > Then the nightmare begun. I got an error saying that the compiler could not > find iostream.h. Ive searched my HD for the file and found it on > djgpp\lang\cxx-v31\backward\. Then I copied the file to djgpp\include (I was > supposed to do that?) and tried it again. This time, the compiler found > iostream.h, but it gave me an error saying that the file contains one or > more "deprecated" headers (What means "deprecated", anyway? ). Did you per chance named your source file something.c? If so, rename the file so that it has a .cc or .cpp extension. The FAQ explains that GCC decides what language is your program written in by looking at the file-name's extension, and what you describe seems to indicate that GCC thinks it's a C program, not a C++ program.