texts and textbooks


The two "tomes" for C++ (pre-BOOST and the newest standard) are:

The C++ Programming Language, Bjarne Stroustoup (who created the language)
The C++ Primer, Lippman && Lajoie

These are not considered "teaching texts", however they do "define" the language.


Dietel && Dietel's C++ How to Program is a text many use and like (and many find too "corporate").
Walter Savitch, Problem Solving in C++ is OK and has some incorrect things (as do most texts).
I've used Pohl's text in the past.
Bruce Eckel's text is fine.
Cay Horstman now has a C++ text which is good (not the "for everyone" text, though).
Stroustoup has produced a "teaching" text that is probably not right for beginners and has some other issues.

There are literally hundreds of texts, pick and read five.
(See the link below ("millions") which has more texts and text reviews and such.)


online texts/tutorials

(some interal links are missing and the topic order may not match ours. Not as good as the next one)

(I like this one. It does the "old" style explicit casting; it doesn't emphasize that output is done by << but does mention streams early; it mentions global variables way too often for my liking; it is COMPLETELY WRONG in not calling the unary & the adress-of operator (I will scream about this); and some other things will be done differently by me and in class but it's thorough and nicely laid out.) But again, I like most of this one.

A pretty good source but not exactly a tutorial. (Most) All of the stuff is there and as always there are goofs.

a link to "millions" of pages on C++
(pick 174,235 and read them!)
(does include several online 'textbooks' that you can find in printed form also)


free compilers

Dev C++ (mostly good)
http://www.bloodshed.net/dev/devcpp.html (5th, most recent version)
http://csjava.occ.cccd.edu/~gilberts/devcpp5/ (don't download from here - use this link for better installation and how-to-get-started instructions. don't download from here because it's the 4th version)

Microsoft has a free version of the compiler I've been using in class.
You may have to "register" as an education user to get it but here it is:

For both of these, an "empty" "console" application is what you'd want to create.

The Eclipse compiler for C++ is now available for both MACs and PCs (download for PC here).
It's there already on the MAC.

For the MAC, under the hood (Terminal Window) is UNIX variant so you have the gcc and/or g++ compilers already there.