www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/20/13:49:43

From: nostra AT city DOT ac DOT uk (Mark Lewis)
Newsgroups: alt.msdos.programmer,comp.os.msdos.djgpp,rec.games.design,rec.games.programmer
Subject: Re: C or C++
Date: 20 May 1997 10:06:05 GMT
Organization: City University, London
Lines: 31
Message-ID: <5lrt2d$qun@bambam.soi.city.ac.uk>
References: <01bc64bb$79a13040$69e22499 AT syntaxlogic DOT earthlink DOT net>
NNTP-Posting-Host: swindon.city.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

-----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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019