/////////////////////////////////////////////////////////////// // // heap.h // // The interface for the class Heap. // // REVISION HISTORY // 2/21/01 (Jeff Ondich) Wrote it. // /////////////////////////////////////////////////////////////// #ifndef HEAP_H #define HEAP_H #include class Heap { private: string *mHeap; int mMaxSize; int mCurrentSize; public: Heap( int size ); virtual ~Heap(); int Size(); void AddItem( const string& newItem ); const string& RemoveItem(); void Print(); }; #endif