搜索资源列表
elevate
- 开发了一个用于模拟电梯的程序,虽然功能不是很强,但对于理解线程又很大的好处-development of a simulated lift for the procedure, although the function is not very strong, but also for understanding threads considerable benefits
REPO-PRAC-9
- programa que hace operaciones basicas con 2 variables y eleva aun exponente dado por el usuario hecho en clases
ElevatorSimulation
- 模拟程序包含一个时钟(Clock),初始值设为零,每秒钟自增1秒。模拟程序还包含一个调度器(Scheduler),它通过随机设置两个时间开始每一天:第一个时间是一个人首次走到1层,并按下楼层按钮召唤电梯时间,第二个时间是一个人首次走到2层,并按下按钮召唤电梯时间。每个时间都是随机数在5~20之间。电梯每天在1层关门等待。 假设电梯和楼层载客量为1。调度器先查实一个楼层未被占据,然后创建一个人,让其走进相应的层。假如楼层已被占据,
Cubo-por-referencia
- Eleva un numero al cubo usando el paso por referencia.