From: "Walt Mundt" Newsgroups: alt.msdos.programmer,comp.os.msdos.djgpp,rec.games.design,rec.games.programmer Subject: Re: C or C++ Date: Wed, 21 May 1997 18:54:04 -0400 Organization: News-Journal Center Lines: 14 Message-ID: <5lviee$feh@nj1.n-jcenter.com> References: <01bc64bb$79a13040$69e22499 AT syntaxlogic DOT earthlink DOT net> NNTP-Posting-Host: depm2c-19.n-jcenter.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >What are the advantages of programming a CRPG in C++? After comparing >compiled versions of the same game in DJGPP and using Allegro, the C file >is only half the size as the C++ file! Is it really worth it? >-- >Alex Kain >syntaxlogic AT earthlink DOT net Well, it depends on the structure of your game. Also, if you stick to the C libraries(compile a C++ file with no libraries and manually link libc/crt0...), you'll get a smaller executable which still supports C++ coding features like classes, but without all the enhanced input/output. Since I haven't tried new and delete that way yet, I don't know if they work either...