Programming Problem, November 18th, 1998
Building a car for a class

Suppose that you were to build a class for a company that rents cars... (ok, this is a silly example). You want to keep track of certain information regarding each car that is owned by the company, and you want to provide functions that will enable them to store/retrieve information regarding those cars.

Data to keep track of:

Functions to build:

Of course, there are many many many other things you could do... Feel free to add them!

The following files contain the code:
car.h : contains the class
car.cc : contains the definitions for the public member functions of the class
carmain.cc : a sample main

To compile this program, just type:
g++ car.cc carmain.cc -o car