Dana Vrajitoru
C201/I211 Computer Programming II

Homework 12

Due Date: Wednesday, December 6, 2006.

Ex. 1 Design and implement a project containing at least three classes, the first being a general category, the second one derived from it, and the third one derived from the second, after the model of the Socrates program discussed in class.

General requirements:

Ideas:

Note. Do not implement the same classes as someone else. You can have at most one class name in common with someone else, but the content of the class should be different.

Example The following files constitute the program implementing the Socrates example, along with a Makefile for compilation on Linux:
animal.cpp
animal.h
human.cpp
human.h
lifeform.cpp
lifeform.h
main.cpp
Makefile

Turn in: all the files in your project (.cpp and .h). If you create a Makefile, send it in too.