What is 'C/C++'? 'C' and 'C++' are both computer programming languages in widespread use. In simple terms, C++ is an extension to C. However, as this course will not make that much use of the extended features of C++, I refer to it as a 'C/C++' course, to indicate that it is based on standard C, with elements of C++. This course uses C++ elements when they are simpler or more logical than corresponding C features. For example, the C++ 'cout' and 'cin' mechanisms for doing simple screen output and keyboard input are more logical that the equivalent C 'printf' and 'scanf' functions. They are also less likely to fail because of trivial errors in the program.
Typographic conventions There are a number of C++ programs used in this tutorial. You can download these and try them with your favourite C++ compiler. When C++ programs are displayed in these pages I have colour-coded them for ease of reading. The colours mean nothing to the computer, and are for the benefit of the reader.
©1994-2003 Kevin Boone, all rights reserved