Mail Archives: djgpp/2000/10/23/19:43:50
The following message is a courtesy copy of an article
that has been posted to comp.os.msdos.djgpp as well.
"Luke A. Ney" <luke AT lanl DOT gov> writes:
> Dear Sir:
>
> I have installed your djgpp C++ compiler from a CD provided with the book
> "SAMS Teach Yourself C++ in 24 Hours", Jesse Liberty, to my PC. However,
> the first simple program example does not run; error messages related to
> 'ostream' and 'cout' which should have been included from the C++ libruary.
> Do I need to pay you a fee or get an operating compiler from you? Your
> direction would be greatly appreciated.
No, DJGPP is a free, fully functional compiler. However, people who
include it with books or otherwise sell it often have it
installed/configured wrong, or misdocument it.
C++ programs should compile if you use the `gxx' command instead of
`gcc', which tells the compiler to link the C++ library.
If you have further trouble, you should probably install the latest
official release of DJGPP, which you can get from
http://www.delorie.com/djgpp/zip-picker.html . That way, you can rule
out problems specific to the SAMS book, which few people in this forum
are likely to be using.
--
Nate Eldredge
neldredge AT hmc DOT edu
- Raw text -