文件名称:choujiang

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2017-03-18
  • 文件大小:
  • 161kb
  • 下载次数:
  • 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
(系统自动生成,下载前可以参看下载内容)

下载文件列表





抽奖程序\choujiang.cpp

........\用户使用手册.doc

........\说明文档.txt

抽奖程序

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org