代码搜索:elevator
找到约 1,035 项符合「elevator」的源代码
代码结果 1,035
www.eeworm.com/read/273713/10903739
exe elevator.exe
www.eeworm.com/read/273713/10903740
pdb elevator.pdb
www.eeworm.com/read/273713/10903741
exe elevator.exe
www.eeworm.com/read/271193/11004614
dsp elevator.dsp
# Microsoft Developer Studio Project File - Name="Elevator" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86)
www.eeworm.com/read/271193/11004616
plg elevator.plg
Build Log
--------------------Configuration: Elevator - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADMI
www.eeworm.com/read/271193/11004623
opt elevator.opt
www.eeworm.com/read/271193/11004625
cpp elevator.cpp
#define test 0 //test为1时对电梯效率进行测试,test为0时观察电梯运行情况。
#include "Building.h"
int main() {
Elevator E;//电梯
WQueue w[Maxfloor+1][2];//每层都有两个等待队列:上楼队列和下楼队列
//初始化
InitEle(E);
srand( (unsigned)ti
www.eeworm.com/read/271193/11004626
ncb elevator.ncb
www.eeworm.com/read/271193/11004636
dsw elevator.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/271193/11004638
h elevator.h
//电梯类型
#include "ClientStack.h"
typedef struct {
int floor; //电梯所在层
int ClientNumber;//电梯内人数
EleStatus status; //电梯当前状态
EleStage Stage; //电梯运行时期
int Count;//用于电梯计时
int CallUp[Maxfloor+1]