📄 simple.h
字号:
/**
* Simple.h
*
* A simple class that illustrates class definition syntax.
*
*/
#ifndef _simple_h_
#define _simple_h_
class Simple {
public:
Simple(); // Constructor
virtual ~Simple(); // Destructor
virtual void publicMethod(); // Public method
int mPublicInteger; // Public data member
protected:
int mProtectedInteger; // Protected data member
private:
int mPrivateInteger; // Private data member
static const int mConstant = 2; // Private constant
static int sStaticInt; // Private static data member
// disallow assignment and pass-by-value
Simple(const Simple& src);
Simple& operator=(const Simple& rhs);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -