next up previous
Next: Code Up: Advanced C++ Programming Previous: Assignments

Lecture notes

See the next section to download some of the code discussed in class.

Notes (4-up) Notes (1-up) Relevant textbook material
C++ basics C++ basics Most of Chapters 2, 4, 5, and 7
Namespaces Namespaces Section 20.7
Pointers, arrays, structures Pointers, ... Section 9.5, Chapters 10 and 18
Multiple files1 Multiple files1 Section 6.9, extra (see link)
Scope and extent Scope... Section 5.9, extra
Classes Classes Chapters 6, 11, 16 (partial), 17 (partial), 18 (rest of), 20
The C++ preprocessor The C++ preprocessor Various chapters, also some extra material
Templates Templates Chapter 22
Standard template library Standard template library Chapters 23 and 24
Exceptions, virtual functions Exceptions, virtual functions Chapters 19 and part of 21
Smart pointers2 Smart pointers2 External documentation



Footnotes

... files1
More information on the matter of programming with multiple modules can be found on the Web here. The document is a nice tutorial on multi-file programs, well worth a look. Thanks to Petter Häggholm for pointing it out. See the on-line material for more details on makefiles.
... pointers2

next up previous
Next: Code Up: Advanced C++ Programming Previous: Assignments
Stefan Bruda 2010-03-17