🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1967

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

#1967
From: Dean Fogarty
Date: Sun, 13 Aug 1995 23:43
24 lines
1718 bytes
Robert Davies (robert.davies@vuw.ac.nz) wrote:
: Learn C++ first but spend a day or so (if you have done programming
: before) looking at a C manual to learn about the structure and layout
: of a C program. But don't try to become an expert in C. There are 
: many things a C programmer has to become adept at, that are
: much less important in C++ (like #define, casts, pointer arithmetic,
: typedef, structs, stdio.h).

This is true; some things that are present in C don't have to be
used in C++.  However, I think it would be best to know and understand
such concepts anyway.  There may come a time when you have a problem
that can best be solved using a "C-type solution" rather than C++.

Don't get me wrong - C++ and OO are great things to know and use.
But remember that without knowledge of the basics and fundamentals,
such as casting methods and pointer arithmetic, you tread on unstable
ground.

My $0.02.
--
Dean Fogarty				"If the enemy leaves a door open,
Computer Science 3			 you must rush in."
Newcastle University, Australia		 		Sun Tzu
c9228759@cs.newcastle.edu.au				The Art of War
Technical Details
Message-ID: <40m2m5$mkj@seagoon.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!lily.newcastle.edu.au!c9228759
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>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lily.newcastle.edu.au!c9228759
From: c9228759@lily.newcastle.edu.au (Dean Fogarty)
Newsgroups: rec.games.programmer,comp.lang.c++
Subject: Re: Should I learn C or C++ first?
Followup-To: rec.games.programmer,comp.lang.c++
Date: 13 Aug 1995 23:43:01 GMT
Organization: The University of Newcastle
Message-ID: <40m2m5$mkj@seagoon.newcastle.edu.au>
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>
NNTP-Posting-Host: lily.newcastle.edu.au
X-Newsreader: TIN [version 1.2 PL2]