?? extendedlinearlist.h
字號:
// abstract class extendedLinearList
// extends linearList by adding functions to clear and append
// all methods are pure virtual functions
#ifndef extendedLinearList_
#define extendedLinearList_
#include <iostream>
#include "linearList.h"
using namespace std;
template<class T>
class extendedLinearList : linearList<T>
{
public:
virtual ~extendedLinearList() {}
virtual void clear() = 0;
// empty the list
virtual void push_back(const T& theElement) = 0;
// insert theElement at end of list
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -