📄 orderdvector.h
字号:
//#include"vector.h"
template<class T>class orderedVector
{
public:
orderedVector();
orderedVector(const orderedVector<T>&v);
T&operator[](unsigned int index)const;
void add(T valude);
void deleteALLValues();
int includes(T valude )const;
int isEmpty()const;
void remove(T value);
unsigned int binarySearch(T value);
private:
vector <T>data;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -