Instructions of use
If you are familiar with C language you can take the first 3 parts of this tutorial (from 1.1 to 3.4) as a review, since they mainly explain the C part of C++.
Part 4 describes object-oriented programming.
Part 5 mostly describes the new features introduced by ANSI-C++ standard.
Many sections include an additional page with specific examples that describe the use of the new acquired knowledge from that chapter. It is recommended to read these examples and to be able to understand each of the code lines that compose it before passing to the next chapter.
A good way to gain experience with a programming language is by modifying and adding new functionalities by your own to the example programs that you can fully understand. Don't be scared to modify the examples provided with this tutorial. I still have had no reports of anyone harming his/her computer due to that.
During this tutorial, the concepts added by ANSI-C++ standard that are not included in most older C++ compilers are indicated by one of the following icons:
<- new in ANSI C++
Also, given the enormous extension that the C language enjoys (language from which C++ derives), it will also be included an icon when the topic explained is a concept whose implementation is clearly different between C and C++ or that is exclusive of C++.
<- different implementation between C and C++
All C++ compilers support the compilation of console programs. If you want to get more information on how to compile the examples appearing in this tutorial, check the document Compilation of Console Programs, where you will find specific information about this subject for several C++ compilers existing in the market.
|© The C++ Resources Network, 2000-2001 - All rights reserved|
1.1 - Structure of a C++ program