Lecture overview -- Keyboard shortcut: 'u'  Previous page: Vectors - examples -- Keyboard shortcut: 'p'  Next page: Input and output in C++ -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Alphabetic index  Help page about these notes  Course home    Basic facilities - slide 34 : 46

The free store
The C++ operators new and delete are used instead of the <cstdlib> functions malloc / calloc and free
new-del.cpp
Illustration of free store.

"A C++ implementation does not guarantee the prescence of a 'garbage collector'" [Stoustrup page 128]