[clug-talk] OT: C++
carlsonmark at gmail.com
Wed Sep 27 21:11:13 PDT 2006
Whoops, this missed the list.
Also, Mitchell, this would not have been OT on the CLUG-PROGSIG list :-)
--Original Message Follows--
From: Mark Carlson <carlsonmark at gmail.com>
Date: Sep 27, 2006 10:07 PM
Subject: Re: [clug-talk] OT: C++
To: akopciuch at bddf.ca
On 9/27/06, Andrew J. Kopciuch <akopciuch at bddf.ca> wrote:
> On Wednesday 27 September 2006 14:19, Mark Carlson wrote:
> > On 9/27/06, Andrew J. Kopciuch <akopciuch at bddf.ca> wrote:
> > > On Wednesday 27 September 2006 12:06, Nick Wiltshire wrote:
> > > > Are you familiar with the concepts of classes, objects, scope? If not,
> > > > those are good things to know heading in.
> > >
> > > I seriously doubt an introduction to C++ programming is going to get into
> > > classes, objects or other such topics (inheritance, polymorphism, STL).
> > >
> > > The first while will be basic syntax, then data types, streams, control
> > > structures (conditionals, loops etc), functions, maybe some simple
> > > programs.
> > >
> > > I'll bet a big chunk of time will be spent on learning about pointers.
> > >
> > > I would bet it's more like an introduction to C using a C++ compiler.
> > An intro to C++ should indeed cover classes, objects, and such. If it
> > didn't it would be a into tro C, not C++ ;-)
> Actually ... no.
> That would be an introduction to Object Oriented Programming. Those topics
> are not specific to C++. Material to that is included in some C++ classes,
> but not at a very basic level, and especially not in an introduction class
> for beginner programmers ... at a high school.
> > Most "intro to C++" books assume C knowledge and build on that, so I
> > second Adam's suggestion of learning C first.
> So I guess Junior high is where you cut your teeth on C ... and make the jump
> to advance C++ programming the year after? ;-)
> I do not think Mitchell was talking of a professional training course, nor a
> post secondary level class. It is going to be an introduction
> to "programming" using C++. They'll learn how to loop through arrays, and
> code a bubble sort, and make little programs asking questions and gathering
> input, reading and writing to files ... the basics.
> The environment being used is apparently C++ ... but it really wouldn't matter
> if it was java, eiffel, pascal or any other language ... you are going to
> learn the same ideas that apply to any language. OO programming is probably
> not in the plans for a 10th grade class.
Ok, maybe I just don't understand what would constitue C++ if it
didn't include OO. I really don't know any non-OO aspects of C++
- files are suffixed with .C, .H or .cpp, .hpp
- namespaces maybe?
At any rate, I'm no C++ expert, but I heartily enjoy C, and just so
I'm not threadjacking too badly...
... Mitchell: you can find some great C resources at http://www.iso-9899.info
That is the home of the freenode IRC channel ##c. ##c++ on freenode
is probably not a good place for c++ noobs, but they might have a good
collection of c++ info available.
More information about the clug-talk