⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sortedlisthasa.h

📁 Data Abstraction & Problem Solving with C++源码
💻 H
字号:
#include "List.h"class SortedList{public:// constructors and destructor:   SortedList();   SortedList(const SortedList& sList);   virtual ~SortedList();// sorted List operations:   virtual bool sortedIsEmpty() const;    virtual int  sortedGetLength() const;   virtual void sortedInsert(ListItemType newItem)                             throw(ListException);   virtual void sortedRemove(ListItemType anItem)                             throw(ListException);   virtual void sortedRetrieve(int index,                   ListItemType anItem) const                  throw(ListIndexOutOfRangeException);   virtual int locatePosition(ListItemType anItem,                              bool& isPresent);private:   List aList;};  // end class

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -