// test_recur_list.cpp // Text driver for simple list list example // CS210 - S'03 - 3/3/03 - Ray S. Babcock // #include using namespace std; #include "recur_list.h" int main(void) { cout << "Test recursive print list member function. " << endl; cout << endl; Linked MyList; MyList.addNode('a'); MyList.addNode('c'); MyList.addNode('g'); MyList.addNode('k'); MyList.addNode('m'); MyList.PrintList(); cout << endl; MyList.PrintReverse(); cout << endl; cout << "Count of nodes: " << MyList.countList() << endl; }