文件名称:trafficlight2
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- zh***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
双方向的交通系统的仿真.每一个方面有3个灯,红,黄,绿。每一侧的灯亮的顺序为:
红灯5秒钟-》红和黄亮2秒钟-》绿的亮10秒钟-》黄灯亮2秒钟-》循环下去
绿5秒-》黄2秒-》红10秒-》红和黄2秒。
另一个方面的灯不能与这个的冲突。
当灯不亮的时候,它是黑色的。这里有个可以控制的按钮在面板上。当按钮被按下的时候,从红灯开始亮是不变的,除非当你在按下时。还有一个关闭的按钮,如果你按下它,程序就会终止。
-The two sides of the transport system to the simulation. Each have three lights, red, yellow and green. Each side of the lights of the following order: red light 5 seconds- the red and Huang Liang 2 seconds- green light for 10 seconds- yellow light 2 seconds- go green circle five seconds- Yellow 2 seconds- Red 10 seconds- the red and yellow 2 seconds. Another aspect of the lights can not be with this conflict. When the light does not shine, it is black. There is a button control panel. When the button is pressed when the red light starts from Liang is unchanged, except when you press the time. There is also a Close button, if you press it, the program will be terminated.
红灯5秒钟-》红和黄亮2秒钟-》绿的亮10秒钟-》黄灯亮2秒钟-》循环下去
绿5秒-》黄2秒-》红10秒-》红和黄2秒。
另一个方面的灯不能与这个的冲突。
当灯不亮的时候,它是黑色的。这里有个可以控制的按钮在面板上。当按钮被按下的时候,从红灯开始亮是不变的,除非当你在按下时。还有一个关闭的按钮,如果你按下它,程序就会终止。
-The two sides of the transport system to the simulation. Each have three lights, red, yellow and green. Each side of the lights of the following order: red light 5 seconds- the red and Huang Liang 2 seconds- green light for 10 seconds- yellow light 2 seconds- go green circle five seconds- Yellow 2 seconds- Red 10 seconds- the red and yellow 2 seconds. Another aspect of the lights can not be with this conflict. When the light does not shine, it is black. There is a button control panel. When the button is pressed when the red light starts from Liang is unchanged, except when you press the time. There is also a Close button, if you press it, the program will be terminated.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
traffic light2
..............\ReadMe.txt
..............\res
..............\...\traffic light2.rc2
..............\resource.h
..............\StdAfx.cpp
..............\StdAfx.h
..............\traffic light2.cpp
..............\traffic light2.dsp
..............\traffic light2.dsw
..............\traffic light2.h
..............\traffic light2.rc
..............\traffic light2Dlg.cpp
..............\traffic light2Dlg.h
..............\ReadMe.txt
..............\res
..............\...\traffic light2.rc2
..............\resource.h
..............\StdAfx.cpp
..............\StdAfx.h
..............\traffic light2.cpp
..............\traffic light2.dsp
..............\traffic light2.dsw
..............\traffic light2.h
..............\traffic light2.rc
..............\traffic light2Dlg.cpp
..............\traffic light2Dlg.h