UMBC CMSC 202, Computer Science II, Fall 1999,
Project 4 Notes
- The original posting of Project 4 indicated (in the Extra Credit
section) that total project points could not exceed 400. I have removed
that restriction.
- A reminder that overloaded I/O operators must be written as
non-member functions.
- The output for the first sample test program is partially incorrect.
It currently shows what would be the correct output if the
Display()
function
is declared as virtual
in Set.H
, but you were not
asked to make that change until Step 5. Here is the
output you should expect
before Display()
is changed to virtual
.
This was a mistake on my part, but if you compare the
two outputs, it is actually a good way to observe the difference between
declaring or not declaring a function as virtual
.