📄 elevators.h
字号:
// Elevators.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
//#include <vector>
#include <List>
using namespace std;
// CElevatorsApp:
// 有关此类的实现,请参阅 Elevators.cpp
//
class CElevatorsApp : public CWinApp
{
public:
CElevatorsApp();
public://////////////////////全局变量和函数
int Lift_States[5];
int Current_Floors[5];
list<int> WaitQueue[5];
CBitmap m_Nextmap1;
CBitmap m_Nextmap2;
CBitmap m_Nextmap3;
HBITMAP Bitmap_Red;///////位图资源
HBITMAP Bitmap_Blue;
HBITMAP Bitmap_Black;
// 重写
public:
virtual BOOL InitInstance();
// 实现
DECLARE_MESSAGE_MAP()
};
extern CElevatorsApp theApp;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -