
This document is intended for knowledgeable users of C (or any other language using a C-like grammar,
like Perl or Java) who would like to know more about, or make the transition to, C++. This
document is the main textbook for Frank’s C++ programming courses, which are yearly organized
at the University of Groningen. The C++ Annotations do not cover all aspects of C++, though. In
particular, C++’s basic grammar, which is, for all practical purposes, equal to C’s grammar, is not
covered. For this part of the C++ language, the reader should consult other texts, like a book covering
the C programming language.
like Perl or Java) who would like to know more about, or make the transition to, C++. This
document is the main textbook for Frank’s C++ programming courses, which are yearly organized
at the University of Groningen. The C++ Annotations do not cover all aspects of C++, though. In
particular, C++’s basic grammar, which is, for all practical purposes, equal to C’s grammar, is not
covered. For this part of the C++ language, the reader should consult other texts, like a book covering
the C programming language.
This document offers an introduction to the C++ programming language. It is a guide for C/C++
programming courses, yearly presented by Frank at the University of Groningen. This document
is not a complete C/C++ handbook, as much of the C-background of C++ is not covered. Other
sources should be referred to for that (e.g., the Dutch book De programmeertaal C, Brokken and
Kubat, University of Groningen, 1996) or the on-line book1 suggested to me by George Danchev
(danchev at spnet dot net).
The reader should realize that extensive knowledge of the C programming language is actually
assumed. The C++ Annotations continue where topics of the C programming language end, such as
pointers, basic flow control and the construction of functions.
The version number of the C++ Annotations (currently 6.5.0) is updated when the contents of the
document change. The first number is the major number, and will probably not be changed for some
time: it indicates a major rewriting. The middle number is increased when new information is added
to the document. The last number only indicates small changes; it is increased when, e.g., series of
typos are corrected.
This document is published by the Computing Center, University of Groningen, the Netherlands
under the GNU General Public License.
The C++ Annotations were typeset using the yodl formatting system.
In this chapter a first impression of C++ is presented. A few extensions to C are reviewed and the
concepts of object based and object oriented programming (OOP) are briefly introduced.
.
.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น