Mail Archives: djgpp/1997/05/22/21:39:15
>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...
- Raw text -