#ifndef LIST_H #define LIST_H #include"listcon.h" // definition of a List inherited from a ListContainer class List : public ListContainer { public: // on the constructor and destructor the // base class version get called automagically List( void ) { cout << "list constructor" << endl; } ~List( void ) { cout << "list destructor" << endl; } void LongName( void ) { cout << "List" << endl; } // these are all pure virtual from ListContainer void Name( void ) { cout << endl << "LIST" << endl; } void Insert( int foo ) { InsertOrder( foo ); } int Delete( void ) { return DeleteFirst(); } void Delete( int foo ) { DeleteOrder( foo ); } }; #endif