Mail Archives: djgpp/1997/12/28/13:32:50
On 12/27/97 3:40:59 AM \ wrote:
>I'd like to learn C++ (I know C but not C++) with book like "The C++
>Programming Language 3rd edition; Bjarne Stroustrup." Is DJGPP up to
current
>C++ standard for that?
No, but it is close.
>Or do I need to get a commercial package
No commercial compiler is standard compilant. But some are closer
than DJGPP (none of them is for DOS.)
> (if so can you recommend one?)
No. I don't think it is wise to recommend any compiler here
(except of course DJGPP or maybe other GCC/G++ derivatives)
With minor modifications DJGPP can compile most of the programs of the
book.
If you want to be closer to the standard, there is also a Win32 version
of GCC/G++ that is based on EGCS
http://www.cygnus.com/egcs/
The Win32 port is at:
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/egcs.html
This compiler is very close to the standard (since it is based
on GCC 2.8 development tree. DJGPP is based on 2.7.2).
for example its template support is better than most commercial compilers.
Eyal.
- Raw text -