📄 array.h
字号:
class Array{ public: Array(); ~Array(); int& operator[](int x); const int& operator[](int x) const; protected: static const int kAllocSize = 4; void resize(int newSize); int* mElems; int mSize; private: // Disallow assignment and pass-by-value Array(const Array& src); Array& operator=(const Array& rhs);};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -