These web pages attempt to provide the material needed for three complete computer science courses: what are typically called CS 1, CS 2, and a data structures course, all using C++ as the programming language. (At St. Vincent these courses are numbered CS 110, CS 111, and CS 221).
The example programs were written and tested using Microsoft Visual C++ 5.0, although most of them should work fine with other C++ compilers as well. A new version of these web pages is available that was tested with Visual C++ 6.0 and Visual C++ .NET (and in most cases with g++ under Linux as well).
Even in the so-called "Intermediate" section, some CS 1 topics are reviewed, such as arrays, functions, and parameters, though some of the material is presented in greater depth than might be done in a CS 1 course. This is followed by an introduction to object-oriented programming and data structures. Special attention is paid to the design of software that is correct, readable, and as simple and elegant as possible. It is this author's contention that software should be crafted as a thing of beauty.
Some of the recently modified or newest features of C++ have not been included, or are only discussed toward the end of these Web pages. In some cases, older constructs have been deliberately used because they seemed to be simpler. Check your compiler's documentation and on-line help when in doubt about a particular feature.
Author: Br. David Carlson
Last updated: 12/23/2003