?? 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 + -