🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1991

Re: Should I learn C or C++ first?

#1991
From: Gavin Estey
Date: Wed, 16 Aug 1995 18:49
20 lines
1494 bytes
In article <40sj1n$bd4@lemon.easynet.co.uk>
           garyl@byc.easynet.co.uk "21st century caffeine boy " writes:

> >#defines are still useful in C++, though not as much.
> If you're crap, yes.
> 

I use #defines for a couple of reasons, firstly and most importantly
debugging. Secondly using #defines is the best way to deal with array
sizes that you may want to change at a later date. Consts can be used
for anything else.

-- 
Gavin Estey
=================================================================
E-MAIL   gavin@senator.demon.co.uk  PHONE/FAX +44 (01276) 476503    
S-MAIL   2 Lovells Close, Lightwater, Surrey, GU18 5RS, ENGLAND               
=================================================================
Maintainer of the rec.games.programmer FAQ. This can be found at:
     ftp://x2ftp.oulu.fi/pub/msdos/programming/faq/rgp_faq.126
Technical Details
Message-ID: <808598997snz@senator.demon.co.uk>
Path: arc1-ca.pugleaf.net!senator.demon.co.uk!gavin
References: <3v6qkj$8ak@news1.best.com> <3v713f$2bd@ixnews6.ix.netcom.com> <408rnk$auj@seagoon.newcastle.edu.au> <40etar$11n@st-james.comp.vuw.ac.nz> <40o2ee$aqp@deyke3.fc.hp.com> <40sj1n$bd4@lemon.easynet.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!senator.demon.co.uk!gavin
From: Gavin Estey <gavin@senator.demon.co.uk>
Newsgroups: rec.games.programmer,comp.lang.c++
Subject: Re: Should I learn C or C++ first?
Date: Wed, 16 Aug 95 18:49:57 GMT
Organization: home
Message-ID: <808598997snz@senator.demon.co.uk>
References: <3v6qkj$8ak@news1.best.com> <3v713f$2bd@ixnews6.ix.netcom.com> <408rnk$auj@seagoon.newcastle.edu.au> <40etar$11n@st-james.comp.vuw.ac.nz> <40o2ee$aqp@deyke3.fc.hp.com> <40sj1n$bd4@lemon.easynet.co.uk>
Reply-To: gavin@senator.demon.co.uk
X-NNTP-Posting-Host: senator.demon.co.uk
X-Newsreader: Demon Internet Simple News v1.27