Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bjarne Stroustrup (The Creator of C++): The C++ Programming Language - Third Edition

7 views
Skip to first unread message

CoreyWhite

unread,
Mar 30, 2007, 8:29:38 AM3/30/07
to
I bought this book years ago, when I was just learning C++. Since
then I've gone through every math course offered at my college, taken
courses on coding C & thinking in terms how how to make the smallest
tightest algorithms to preform specific functions. I've also grown
and matured a lot, and am wiser and older. I'm reading through the C+
+ Programming Language, Third Edition now, and I can actually
understand it. I can understand it because I'm already familiar with
the language. I know how to use pointers, and know what stacks,
templates, classes, and vectors are. I know how to use them. The
trouble is I don't have a lot of experience using high level object
oriented language, and haven't built any projects of my own using the
techniques. I can see why it is a good idea to think in terms of the
best algorithm you could use to write a program with C++. Because
with another language like PHP you might be able to write the same
code with just a few lines. So without all of the object oriented
tools that seperate C++ from its predecessor, C is a dead language.
It would take pages and pages of C to write some very simple code, and
you would still have to understand low level binary manipulations.

So what I am going to do is come up with a short notebook on what I
get from reading through the C++ Programming Language, -Third
Edition-, and explain to people why object oriented programming is the
shit, and teach them how to use it with clear examples that illustrate
why using vectors, templates, & classes, allow us to do so much more.
Most of the programs will probably be basic string manipulations or
simple algorithms that C++ has a hard time doing without object
oriented programming. But I will try to go over some of the basics of
C, step-by-step, and cover the useful tools that are hard to
understand like pointers and binary operators. Some of the subtleties
of the language, are the most useful parts of it.

I would be interested in learning if anyone else wants to pick up the
higher levels of C++ and work with me in this project? I know some
people posting to comp.lang.c++ already know the language by heart,
but I mostly work with reference books by my side. I guess there is
an old saying: Those who can't do, TEACH!.

verd...@gmail.com

unread,
Apr 1, 2007, 6:50:41 AM4/1/07
to

if you really want to learn about the abilities of C++ and OOP I would
recomend "C++ Templates the complete guide", the Gang of Four Book
"Design Patterns" and "Modern C++ Design Patters"

I those first as a beginner, then "The C++ Lang", then the
formentioned once again.
I found that as I gained experience, I was able to get more out of the
books.

I have not done any straight C programming and wonder myself if i
should learn it to augment my C++ knowledge. I am thinking in terms
of learning the lower level control of the subsystems or foundational
blocks for ths STL, or more so in writing more efficent code without
the overhead of STL calls( or are they all that expensive ), but more
so the dynamic calls.

You might find combinding Templates and Virtualism can do some very
interesting things, but if you need a codebase that runs within a
certain amount of time perhaps by request of a customer, that you have
to go back to the basics...

So should I learn C, and is there a book/reference that is more geared
towards the C++ programmer trying to learn C. On the opposite side...
Thinking in C++ Vol1&2 are geared towards C to C++, and a great
companion reading for the "C++ Lang" did a better job of explaining
why C++ was designed the way it was from C

0 new messages