#include #include "ListT.h" using namespace std; const int MAX_ITEMS {10000}; void PrintList(ListT paramList); int main() { ListT list; list.Insert(3); list.Insert(5); cout << "Before the call to PrintList" << endl; PrintList(list); cout << "After the call to PrintList, now inserting 7" << endl; list.Insert(7); cout << "After inserting 7" << endl; PrintList(list); return 0; } void PrintList(ListT paramList){ cout << endl; cout << "************************" << endl; cout << "The paramList has " << paramList.Size() << " elements." << endl; paramList.Home(); while(not paramList.IsLast()) { cout << paramList.Current() << " " ; paramList.Next(); } cout << endl; return; }