LAB EXERCISE 29
DATE2
Background:
We continue the implementation of the date abstraction by coding the overloaded
input/output operators. The lab
work will mirror the content of the student outline.
You will need to write overloaded versions of the print
and getDate functions. Carefully
test each member function as you implement it.
Overloaded I/O operators:
input, >>
output, <<
Assignment:
1. Implement the
overloaded input (>>) and output (<<) operators for the date class. Use the
student outline of the time class as a
template.