Article View: rec.games.programmer
Article #1969Re: Should I learn C or C++ first?
From: Rainer Deyke
Date: Mon, 14 Aug 1995 17:51
Date: Mon, 14 Aug 1995 17:51
23 lines
1583 bytes
1583 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). #defines are still useful in C++, though not as much. Casts are even more necessary in C++. Pointer arithmetic is used in C++ as much as in C. typedefs are for idiots. structs are still used in C++ (or classes, which are basically the same thing). stdio.h is still much better for i/o in C++ than the ridiculous "<<" type i/o streams. -- +----------------------------------------------+ | Rainer Deyke (rainer@mdddhd.fc.hp.com) | | "The Earth shall inherit the meek" - Carcass | +----------------------------------------------+
Technical Details
Message-ID:
<40o2ee$aqp@deyke3.fc.hp.com>Path:
arc1-ca.pugleaf.net!fc.hp.com!hpfcmdd!deyke3!rainerReferences:
<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!fc.hp.com!hpfcmdd!deyke3!rainer From: rainer@deyke3.fc.hp.com (Rainer Deyke) 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: 14 Aug 1995 17:51:10 GMT Organization: my basement Message-ID: <40o2ee$aqp@deyke3.fc.hp.com> 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> Reply-To: rainer@mdddhd.fc.hp.com NNTP-Posting-Host: deyke3.fc.hp.com X-Newsreader: TIN [version 1.2 051093BETA PL3]