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

📄 keyeditem.h

📁 Data Abstraction & Problem Solving with C++源码
💻 H
字号:
// *********************************************************// Header file KeyedItem.h.// Provides basis for classes that need a search key value.// *********************************************************// Must define KeyType before compilation//typedef desired-type-of-search-key KeyType;typedef int KeyType;class KeyedItem{public:   KeyedItem() {};   KeyedItem(const KeyType& keyValue) : searchKey(keyValue) {}   KeyType getKey() const // returns search key   {         return searchKey;   }  // end getKeyprivate:   KeyType searchKey;};  // end KeyedItem class

⌨️ 快捷键说明

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