#ifndef QUEUE_H #define QUEUE_H #include"listcon.h" // definition of a Queue inherited from a ListContainer class Queue : public ListContainer { public: void LongName( void ) { ListContainer::LongName(); cout << "Queue" << endl; } // these are all pure virtual from ListContainer void Name( void ) { cout << endl << "QUEUE" << endl; } void Insert( int foo ) { InsertBack( foo ); } int Delete( void ) { return DeleteFirst(); } void Delete( int foo ) { DeleteOrder( foo ); cout << "violated Queue" << endl; // this deletes the first foo in the "list" } }; #endif