From: Martin Str|mberg Subject: Re: Getting iostream.h to work Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1026075418.847602@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 07 Jul 2002 20:56:58 GMT Lines: 22 NNTP-Posting-Date: 07 Jul 2002 20:56:58 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1026075418 news.luth.se 467 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Origin wrote: : After installing DJGPP, I followed a tutorial and typed out a Hello : World program, using iostream.h as the library, (i.e. #include : ). However, DJGPP doesn't compile it and tells me 'iostream.h: : No such file or directory'. I searched around and found iostream.h in the : lang\cxx-v31\backward directory, so I copied the file over to \include. Now You (almost) never should do that. You're only breaking it more. The problem is probably: 1. You're writing the code in a C file (.c extension). That's not very good if it's C++ you want to write (.cpp extension). and/or 2. Your tutorial is outdated. Get a correct one. Right, MartinS