文件名称:choujiang
-
所属分类:
- 标签属性:
- 上传时间:2017-03-18
-
文件大小:160.64kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
请用户输入本次参与抽奖的人数,根据输入结果,设置随机数的取余部分以保证所有人都有获奖可能
通过while循环,如果无触碰键盘,则通过数字的不断输出,达到滚动的效果,如果碰到space键,将停止滚动,第一次直接输出,后面的次数会与之前的比较,如有重复会输出“抱歉号码已中奖”
每次抽奖后,if判断yes或no是否继续-Please enter the number of users to participate in this draw, the results based on the input, set to take the remainder of the random numbers to ensure that everyone has the winner possibly through while loop, if not touching the keyboard, then continues through the digital output, to achieve the rolling effect , if you encounter space key to stop scrolling, the first direct output, behind the times compared with the previous will, if repeated will output " Sorry number has already been winning" after each draw, if judged yes or no whether to continue
通过while循环,如果无触碰键盘,则通过数字的不断输出,达到滚动的效果,如果碰到space键,将停止滚动,第一次直接输出,后面的次数会与之前的比较,如有重复会输出“抱歉号码已中奖”
每次抽奖后,if判断yes或no是否继续-Please enter the number of users to participate in this draw, the results based on the input, set to take the remainder of the random numbers to ensure that everyone has the winner possibly through while loop, if not touching the keyboard, then continues through the digital output, to achieve the rolling effect , if you encounter space key to stop scrolling, the first direct output, behind the times compared with the previous will, if repeated will output " Sorry number has already been winning" after each draw, if judged yes or no whether to continue
(系统自动生成,下载前可以参看下载内容)
下载文件列表
抽奖程序/choujiang.cpp
抽奖程序/用户使用手册.doc
抽奖程序/说明文档.txt
抽奖程序
抽奖程序/用户使用手册.doc
抽奖程序/说明文档.txt
抽奖程序
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.