This material is currently under construction.
No responsibility is accepted for the use of this material.
Any comments should be sent to the author.
The C programming language is in reality a family of languages. The original C language was devised by Dennis Ritchie from Ken ThompsonŐs B systems programming language, which in turn was based on BCPL. This dialect is often referred to as K&R C after Kernighan and Ritchie, who wrote the first book explaining it. Today K&R C has been largely replaced by ANSI C, which is the product of an international standardisation effort. ANSI C tidied up the many versions of C that had evolved and created an agreed language definition for the first time. In our first course we take a quick tour through ANSI C. In this second course we consider C++, another descendant of K&R C, which was defined by Bjarne Stroustrup at about the same time and which heavily influenced many ANSI C features, while managing to be incompatible in subtle ways.
It is assumed that the reader is familiar with ANSI C before they read these notes. If not you should go back and work through the corresponding ANSI C notes.
Unlike those ANSI C notes, there are fewer simple exercises associated with this C++ course. You are assumed to be competent and ready to learn quickly. There are, however, five major programming milestones, which are indicated in the contents below and linked to the appropriate note in the sequence. You should carry out these exercises diligently if yuo wish to be a compentent C++ programmer.