Prof: Ric Holt DC 2508, ext 37242 holt@uwaterloo.ca
Web page: http://plg.uwaterloo.ca/~holt/cs/246/2009
Slides: http://plg.uwaterloo.ca/~holt/cs/246/2009/slides/PowerPointCpp3e
Main reading and slides from Savitch, 3rd edition
Password (supplied in class) required to access course slides
Wk |
Tuesday |
Chapters:
Reading assignments, slides |
Asgn due
3pm Fri |
1 |
06 Jan |
Overview |
|
|
|
1.
C++ basics |
|
|
|
2.
Flow of control |
|
2 |
13 Jan |
3.
Function basics |
|
|
|
4.
Parameters, Overloading |
A1: 16 Jan Joe’s
garage |
3 |
20 Jan |
5.
Arrays |
|
|
|
6.
Structs & classes |
|
4 |
27 Jan |
7.
Constructors, tools |
|
|
|
8.
Operator overloading, friends, refs |
A2: 30 Jan Pizzeria |
5 |
03 Feb |
9.
Strings |
|
|
|
10.
Pointers & dynamic arrays |
|
6 |
10 Feb |
11.
Separate compilation & namespaces |
|
|
|
12.
Streams & File I/O |
A3: Polynomials |
|
|
Reading week Feb 16-20 |
|
7 |
24 Feb |
Review |
|
|
|
Midterm 4:30pm Thurs Feb 26 |
|
8 |
03 Mar |
Buhr slides 183-187 Compilation (Section 2.2) 209-219: Makefiles (Section 3.6) |
|
|
|
13.
Recursion |
A4: |
9 |
10 Mar |
14.
Inheritance |
|
|
|
15.
Polymorphism, virtual fcns |
|
10 |
17 Mar |
16.
Templates |
|
|
|
17.
Linked data structures |
A5: Scanner |
11 |
24 Mar |
18.
Exception handling |
|
|
|
19.
Standard template library |
|
12 |
31 Mar |
20.
Holt UML
slides |
|
|
|
|
|
|
|
Classes end 03 Apr |
A6: 03 Apr Interpeter |