Computer Laboratory

Course pages 2013–14

Programming in C and C++

Lecture slides and exercise sheet (as printed)

Code snippets

C and C++ code used in the slides

Additional C snippets:
Lecture 2: layout.c

Additional C++ snippets:
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

Assessed C and C++ Programming Exercise

C and C++ Programming Exercise instructions
(Note: the address c-tick@cl.cam.ac.uk does not acknowledge submissions.)
Starter pack (gzipped tar file)
Head of Department's Announcement about C and C++ Programming Exercise

Additional (non-examinable) reading