Sample Assignment: Extending the Linked List Toolkit
|
|
newnode.h:
The header file for the new toolkit.
Actually, you don't have to write much of this file.
Just copy our version from
newnode.h
and add your name and other information at the top.
newnode.cxx:
The implementation file for the new
toolkit class. You may start with our implementation from
node.cxx
and add the implementations of the four new functions.
newnodetest.cxx:
A simple interactive test program.
As indicated above, you will add four new functions to the linked list
toolkit. These new functions are all specified in the header file
newnode.h
.