Mail Archives: djgpp/1997/05/20/13:49:43
-----BEGIN PGP SIGNED MESSAGE-----
On 20 May 1997 00:41:55 GMT, Alex Kain <syntaxlogic AT earthlink DOT net> wrote:
> 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?
If the code is already written in C then compiling it as C++ is a waste of
time. If you're writing it from scratch then the advantages of using C++
(as well as better type safety) are basically the advantages of using an
object-oriented methodology and should be laid quite nicely in any
literature on O-O design.
Mark.
- --
________________________________________________________________
Mark Lewis - Software Engineer, City University, London, England
Email: M DOT Lewis AT city DOT ac DOT uk, nostra AT city DOT ac DOT uk (MIME,PGP)
WWW : http://www.city.ac.uk/nostra/
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAgUBM4F3or+exwC8S2+xAQEV5gP/a02sEfFlD41pO/4FeT8ncKk8UMwOnQrX
OcoA+9IusIl1H7pKGw0h3eXFwvaKd/cRxZHwNKyMJsYqbE3BH65xOpmedeudkfWi
ApZd/xg3TzdC7IET2PjFkV7NO41dqwdhStK42Tt5gAJ7zR4wcV4SNqML+/tNu/Wz
VoX+ibqktm8=
=hyei
-----END PGP SIGNATURE-----
- Raw text -