Course pages 2011–12
Programming in C and C++
Lecture slides
Lecture 1 [pdf] [4-up]
Lecture 2 [pdf] [4-up]
Lecture 3 [pdf] [4-up]
Lecture 4 [pdf] [4-up]
Lecture 5 [pdf] [4-up]
Lecture 6 [pdf] [4-up]
Lecture 7 [pdf] [4-up]
Lecture 8 [pdf] (bonus material on STL)
Small Code Snippets from Lectures
Lecture 5: enum.cc fun.cc overload.cc reference.cc
Lecture 6: stack.h stack.cc stack_example.cc array_stack.h array_stack.cc
stack_example2.cc
complex.h
complex.cc
complex_example.cc
overload_print.cc
puzzle.cc
Lecture 7:
rectangle.h
shape.h
shape_example.cc
example13.hh
speed_example.cc
speed_example2.cc
X.h
X.cc
X_example.cc
Y.h
Y_example.cc
Lecture 8:
iStack.h
iStack.cc
error.h
stackExcp.h
exception_example.cc
B_example.cc
B.h
sort_example.cc
stac.h
stac.cc
stack_eg.cc
Practical
Practical instructions
Starter pack (gzipped tar file)