From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: newbie + iostream.h Date: Tue, 27 Jan 1998 13:27:22 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 31 Message-ID: <34CE270A.5C0F@cs.com> References: <34CD9DD9 DOT 35C5 AT pop DOT intergate DOT bc DOT ca> NNTP-Posting-Host: ppp229.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jim Brooks wrote: > > I installed djgpp and rhide. when i entered the standard c hello world, > it compiled and ran without problems. However when I tried a C++ > version, the compiler couldn't find iostream.h. I added an included > reference to it in lang\cxx but now a large number of errors are > reported. All suggestions/comments greatfully accepted. > Jim Brooks To compile C++ programs: - Download and install the C++ packages (gpp2721b.zip and lgp271b.zip). - Name your programs with a valid C++ extension (.C, .cc, .cpp). - Use 'gxx' to compile your programs, or add the C++ libraries (-liostr, -lstdcx) manually. If those steps don't work, something is wrong with your configuration. Please read chapter 6 of the DJGPP Frequently Asked Question list to find comprehensive answers, and see chapter 6.12 for information on how to properly send a system report so we can figure out what's wrong. hth -- --------------------------------------------------------------------- | John M. Aldrich | "If 'everybody knows' such-and-such, | | aka Fighteer I | then it ain't so, by at least ten | | mailto:fighteer AT cs DOT com | thousand to one." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------