CS 213: Lecture Code
The code on this page illustrates concepts introduced in lecture. Although based
on code in the book it has been modified so as to compile and run under Microsoft Visual
C++ 6.0.
- Complete set of Visual C++ 6.0 code from all lectures (including workspace and
projects): lectures.zip
Note: Some of the code presented here is intended to illustrate idiosyncrasies
of the C++ language. It should NOT be taken as generally illustrative of good programming style unless otherwise noted. Also, be
aware that the code presented does not necessarily illustrate every concept introduced in
the corresponding chapter(s) of the book. You should always read the chapter in
addition to looking at the code.
- Lecture #1 (26 January 1999): Introduction to C++ control constructs (Read
Chapters 1-3)
- Lecture #2 (28 January 1999): Chapter 4, Types and declarations
- Lecture #3 (2 February 1999): Excerpts from Chapter 21: Streams
- Lecture #4 (4 February 1999): Chapter 5: Pointers, Arrays and Structures
- Lecture #5 (9 February 1999): Chapter 6: Expressions and Statements
- Lecture #6 (11 February 1999): Chapter 7: Functions
- Lecture #7 (16 February 1999): Chapter 8: Namespaces and Exceptions (Part I)
- Lecture #8 (18 February 1999): Chapter 8: Namespace and Exceptions (Part II)
- Lecture #9 (23 February 1999): Chapter 9: Source Files and Programs
- Lecture #10 (25 February 1999): Chapter 10: Classes (Part I)
- Lecture #11 (2 March 1999): Chapter 10: Classes (Part II)
- Lecture #12 (4 March 1999): Chapter 11: Operator Overloading
- Lecture #13 (9 March 1999): Chapter 12: Derived Classes (Part I)
- Lecture #14 (11 March 1999): Chapter 12: Derived Classes (Part II)
- Lecture #15 (16 March 1999): Chapter 13: Templates (Part I)
- Lecture #16 (18 March 1999): Chapter 13: Templates (Part II)
- SPRING BREAK
- Lecture #17 (30 March 1999): Chapter 14: Exception Handling (Part I)
- Lecture #18 (1 April 1999): Chapter 14: Exception Handling (Part II)
- Lecture #19 (6 April 1999): Chapter 15: Class Hierarchies (Part I)
- Lecture #20 (8 April 1999): Chapter 15: Class Hierarchies (Part II)
- Lecture #21 (13 April 1999): Chapter 16: Library Organization and Containers
(Part I)
- Lecture #22 (15 April 1999): Chapter 17: Standard Containers
- Lecture #23 (20 April 1999): Chapter 18: Algorithms and Function Objects
(Part I)
- Lecture #24 (22 April 1999): Chapter 18: Algorithms and Function Objects
(Part II)
- Lecture #25 (27 April 1999): Chapter 19: Iterators and Allocators
- Lecture #26 (29 April 1999): Chapter 22: Numerics
- Lecture #27 (4 May 1999): Locales & Wrap-up
- Lecture #28 (6 May 1999): Threads
- mtgdi.zip /* This code is an example of
MFC programming taken from MSDN */
Additional sample code provided by the grader can be found here.
This page was last edited: Tuesday, December 14, 2004 12:17:55 PM