Homework 7

15 points - Due session 8

Goal

The purpose of this assignment is to help you begin translating your term project design into concrete C++ classes.

Assignment

In the OOA/OOD work you've done so far for the term project, you've identified the system's primary classes and gained an understanding of the behavior and roles of these classes in the system. This has helped you determine inheritance relationships ("is-a") and associations ("uses-a", "has-a") among the classes.

Now, it's time to take the next step. Create class definition (.h) and implementation (.cpp) files for each of these abstractions. Model the inheritance and association relationships mentioned above in the class definitions. You can use arrays or vectors to handle collections of contained objects. Although at this point, you do not need to supply method bodies that implement the behaviors you've identified, you should at least have the majority of public interface methods declared in the headers of each class. You should also be able to compile and link your files to confirm syntactic correctness.

Deliverables

Put  your .h and .cpp files, along with an updated copy of your class diagram(s) into an archive file named hw6.zip or hw6.tar.Z.  Save this archive file in your AISYG 240 course directory (Courses/AISYG 240) on ftp.coe.neu.edu.

Most of your method implementations will probably be stubbed out.  This is fine.  The only requirement at this point is that they compile without errors.  Also, include a document containing one or two paragraphs that give a brief overview of your solution.

If you are working in a group, only one set of files needs to be submitted for the whole group.  Make sure that all group members are listed in the overview document.  To assure that the programming responsibility is divided evenly, each program file must include the name of the (one) group member who produced it.