文件名称:jicungui
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2014-09-13
- 文件大小:
- 374kb
- 下载次数:
- 1次
- 提 供 者:
- 裘*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
某超市门口的自动寄存柜有n个寄存箱,并且有一个投币控制器,顾客想要寄存小件物品时,只要在投币控制器投入1个1元的硬币,如果此时有空闲的箱子,寄存柜就会自动打开一个空的箱子,并且打印输出一张小小的密码纸条;如果没有空闲的箱子,则提示“本柜已满”。当顾客离开超市时,用密码纸条上指定的数字密码依次输入到开箱控制器,则顾客所存包的箱子门就自动打开,顾客取走物品后,关上门。
输入数据时,可先输入寄存箱总数n,再由用户选择是“投硬币”还是“输密码”。
如果选择“投硬币”,则只有硬币值是1才开箱。如果有空闲的箱子,则输出箱子编号及密码(4位数字);如果无空闲的箱子,则提示:“本柜已满”。
如果选择“输密码”,若输入的密码与某一箱子密码相符,则显示打开的箱子编号,否则输出提示:“密码错误”。-Automatic storage cabinets with n Storage box in front of a supermarket, and there is a coin-operated controller, customers want storage of small items, as long as the coin controller into a one yuan coin, if there is free at this time boxes, storage cabinets will automatically open an empty box, and print out a small piece of paper password If no free box, the message " This cabinet is full." When the customer leaves the supermarket, digital code specified by the password input to turn a piece of paper out of the box controller, the customer deposit box package automatically open the door, the customer after removal of items, close the door. When entering data, you can enter the storage tank to the total number n, and then selected by the user is a " coin" or " lose the password." If you select the " coin" , the only coin value is a just out of the box. If you have a spare box, the output box number and password (four digits) If there is no free bo
输入数据时,可先输入寄存箱总数n,再由用户选择是“投硬币”还是“输密码”。
如果选择“投硬币”,则只有硬币值是1才开箱。如果有空闲的箱子,则输出箱子编号及密码(4位数字);如果无空闲的箱子,则提示:“本柜已满”。
如果选择“输密码”,若输入的密码与某一箱子密码相符,则显示打开的箱子编号,否则输出提示:“密码错误”。-Automatic storage cabinets with n Storage box in front of a supermarket, and there is a coin-operated controller, customers want storage of small items, as long as the coin controller into a one yuan coin, if there is free at this time boxes, storage cabinets will automatically open an empty box, and print out a small piece of paper password If no free box, the message " This cabinet is full." When the customer leaves the supermarket, digital code specified by the password input to turn a piece of paper out of the box controller, the customer deposit box package automatically open the door, the customer after removal of items, close the door. When entering data, you can enter the storage tank to the total number n, and then selected by the user is a " coin" or " lose the password." If you select the " coin" , the only coin value is a just out of the box. If you have a spare box, the output box number and password (four digits) If there is no free bo
(系统自动生成,下载前可以参看下载内容)
下载文件列表
【3】寄物柜\Debug\vc60.idb
...........\.....\vc60.pdb
...........\.....\寄物柜.exe
...........\.....\寄物柜.ilk
...........\.....\寄物柜.obj
...........\.....\寄物柜.pch
...........\.....\寄物柜.pdb
...........\寄物柜.cpp
...........\寄物柜.dsp
...........\寄物柜.dsw
...........\寄物柜.ncb
...........\寄物柜.opt
...........\寄物柜.plg
...........\......2\a.cpp
...........\.......\a.dsp
...........\.......\a.dsw
...........\.......\a.ncb
...........\.......\a.opt
...........\.......\a.plg
...........\.......\Debug\a.exe
...........\.......\.....\a.ilk
...........\.......\.....\a.obj
...........\.......\.....\a.pch
...........\.......\.....\a.pdb
...........\.......\.....\vc60.idb
...........\.......\.....\vc60.pdb
...........\.......\Debug
...........\Debug
...........\寄物柜2
【3】寄物柜