CS 1044 Examples


Simple example of a program using user-defined functions:  BladeTension.cpp


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 

Problem specification

Design analysis

Source code

   Trip data    Queries

   Summary    Log


Last updated on:    Wednesday, March 14, 2007