📄 object.h
字号:
#pragma once
//Specifies that the file will be included (opened) only once by the compiler when compiling a source code file.
#include "Global.h"
class Object
{
private:
static UINT32 ObjNum; //系统中的对象总数,在main(){} 之前初始化
protected:
UINT32 ObjSN; //对象序列号,创建对象时,将ObjNum的值赋给ObjSN
public:
Object(void);
virtual ~Object(void);
static UINT32 GetObjNum(void);
UINT32 GetObjSN(void) const;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -