The following examples are intended as a resource for understanding how to analyze and design a program, and also as a repository of source code examples. The design analyses are largely incomplete, as they are intended to be a basis for in-class discussions. As usual, there is no guarantee as to the correctness of the given C++ code. Caveat emptor.
| Example | Files |
|
Array of structures as a simple database |
Last updated on: Tuesday, April 22, 2003