UMBC CMSC 202, Computer Science II, Fall 1999,
Project 2 Notes
- There was a mistake in the original posting of Project 2 which
has now been corrected. The incorrect section was in item 6 in the
"Tasks" section:
- ORIGINAL: The public section of the
StudentNode
class should
declare the following member functions:
- A non-default constructor (replaces the
CreateStudent()
function)
- A destructor (replaces the
DestroyStudent()
function)
- CORRECTION: The public section of the
StudentNode
class should
declare the following member functions:
- A non-default constructor (replaces the
CreateNode()
function)
- A destructor (replaces the
DestroyNode()
function)
- Another typo (in item 3 of the "Tasks" section) has been corrected:
-
ORIGINAL: A function
called Print()
(replaces the
PrintList()
function):
-
CORRECTION: A function
called Print()
(replaces the
PrintStudent()
function):
- Proj2.C has
been revised to correct a minor bug. If you attempted to do
Find/Delete on empty list, the value 0 would be used as the
righthand operand of the modulus (%) operator, which results in
a runtime error due to division by zero. You may wish to make
a similar revision in Proj2-test.C.