Next chapter
Table of contents
Chapter 1: Overview of the chapters
The chapters of the
C++
Annotations cover the following topics:
Chapter
1
: This overview of the chapters.
Chapter
2
: A general introduction to
C++
.
Chapter
3
: A first impression: differences between
C
and
C++
.
Chapter
4
: The `string' data type.
Chapter
5
: The `class' concept: structs having functions. The `object' concept: variables of a
class
.
Chapter
6
: Allocation and returning unused memory:
new
,
delete
, and the function
set_new_handler()
.
Chapter
7
: More About Operator Overloading.
Chapter
8
: Abstract Containers.
Chapter
9
: Static data and functions: components of a class not bound to objects.
Chapter
10
: Classes having pointer members: how to prevent memory leaks and wild pointers.
Chapter
11
: The Standard Template Library, generic algorithms.
Chapter
12
: The
C++
type-safe I/O library.
Chapter
14
: Gaining access to private parts from outside: friend functions and classes.
Chapter
15
: Building classes upon classes: setting up class hierarcies.
Chapter
16
: Polymorphism: changing the behavior of member functions accessed through base class pointers.
Chapter
13
: Exceptions: handling errors where appropriate, rather than where they occur.
Chapter
17
: Templates: using
molds
for code that is type dependent.
Chapter
18
: Several examples of programs written in
C++
.
Next chapter
Table of contents