C++ Projects

A couple of years ago, Wrox Press, for whom I write ancillary material, came up with the idea of producing a dozen large-scale projects in each of several different computer languages. I was given the job of writing the C++ projects. The project fell through for one reason or another, but I had already written seven of the twelve projects (and drawn the illustrations as well, which was a lot harder!)

Having these projects on my hands, I thought I would put them on my web site. Wrox Press' loss is your gain! Each project is present only in the form of a web site (sorry!) and you can get at them by clicking on the web icons below.

Project name (and what aspects of C++ it covers)
Web page
General Introduction
Project 1 - A Unit Converter (Constructing a simple program, variables, cout and cin, the switch statement)
Project 2 - A Simple Calculator (More variable types, comments, the ++and -- operators, the modulo operator %, simple functions, while and do while loops).
Project 3 - A Simple Expert System (if statements, the && and || operators in conditions, for loops, overloading variable assignments, constant values)
Project 4 - Battleships! (Arrays, Standard Header files, pseudo-random numbers, variable scope, implicit conversion of characters to numbers)
Project 5 - Processing Dates (Arrays of characters, reference parameters and value parameters, function prototypes, user-defined header files)
Project 6 - A Simple Database (the String type, getline(), Structures, simple file access, binary numbers, binary operations)
Project 7 - Pointers, the sizeof() function and various further string functions.