CS 1440 Lab 8
your Act2.C file into a Date.h and a Date.C files.
your Act3.C file into a Person.h and a Person.C files.
these class header files to contain only their class definitions.
these class implementation files to contain only their class function implementations.
a new class called “Couple”.
A couple contains two Persons as data members, and set and Display
member functions as shown below.
You decide what displaying a couple might do. Maybe output like: “Charlie will occasionally forget
Trish’s birthday on 10/19/1975, but Trish will never forget Charlie’s 9/26/1974
the following main function in file called postlab.C and also implement
the getPerson function.
Person he, she;
she = getPerson();
he = getPerson();
/* YOU DO
g++ Date.C Person.C