building.h
来自「某国际贸易中心共有40层」· C头文件 代码 · 共 30 行
H
30 行
# ifndef _BUILDING_H
# define _BUILDING_H
# include "simulation.h"
# include "elevsim.h"
# include "person.h"
# include "floor.h"
# include "elevator.h"
class building:public simulation
{
perSet Persons;
floorSet Floors;
elevSet Elevators;
int hours;
int minutes;
int seconds;
public:
building()
{
minutes=0;
hours=0;
seconds=0;
}
bool continues(void);
void perform(void);
void display(void);
};
# endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?