📄 building.h
字号:
// Building.h: interface for the Building class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_BUILDING_H__C9427815_0523_4A14_90D6_4A45EBF12F46__INCLUDED_)
#define AFX_BUILDING_H__C9427815_0523_4A14_90D6_4A45EBF12F46__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "DataInfo.h"
#include "Elevator.h"
#include "Floor.h"
class Building
{
public:
void SysChooseHelp();
void SysStop();
void SysRun();//system run
void SysElevatorRunNext();//elevator run to next
void SysCreatePeople();//Create people
void InitBuilding(int fcount=0);
Building(int fcount);
Building();
virtual ~Building();
Elevator *ep; //now,this test!!!!!!
vector<Floor *> fVector; //floors' vector
// vector<Elevator *> eVector;//elevators' vector
int elevatorCount;
int bfloors;
};
#endif // !defined(AFX_BUILDING_H__C9427815_0523_4A14_90D6_4A45EBF12F46__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -