?? eatingstruct.h
字號(hào):
//eatingStruct.h
//this file including the mutexs and some other important shared varaible
//written in 2004/6/2 23:50
#ifndef EATING_STRUCT_H
#define EATING_STRUCT_H
#define THINKER_NUM 5
typedef struct
{
HANDLE tropics[THINKER_NUM];
HANDLE ThreadExit;
HWND m_view;
int thinkerStatus[THINKER_NUM];
int tropicStatus[THINKER_NUM];
int ThinkerCnt;
int m_speed;
CRect userect[THINKER_NUM];
CRect Idlerect[THINKER_NUM];
CRect thinkerRect[THINKER_NUM];
}Thinkers, *pThinkers;
enum
{
NORMAL_STATUS,
THINKING_STATUS,
HUNGRY_STATUS,
EATING_STATUS
};
//typedef Thinkers* pThinkers;
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -