CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 游戏 其他智力游戏

文件名称:24

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-03-16
  • 文件大小:
    65.97kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

24点游戏:

基本要求及步骤:

1) 随机产生四个1-13的数,分别代表13张牌。

2) 提示玩家输入算式。

3) 判断玩家输入的表达式是否合法,其中算式中的四个数字只能是程序所给的四个数字,非法则回到1)。

4) 如果玩家认为这四张牌算不出24点(如:1,1,1,1),可只输入?,程序将判断这四张牌是否能得出24点,如果能,则程序将给出算式,如果不能,说明不能,并回到1)。

5) 当用户正确输入算式后,用“堆栈来求表达式的值”的原理 求出结果并判断是否为24,得出用户是输是赢的结果。

6) 询问用户是否继续,是则回到1),否则结束程序。

-24-point game: the basic requirements and steps: 1) random number four 1-13, respectively, on behalf of the 13 licenses. 2) prompts the player to enter formula. 3) to determine whether the players enter the expression legitimate four numbers in the formula can only program to four digits, illegally back to 1). 4) If the players four cards can not figure the 24 points (such as: 1,1,1,1), can only enter? , The program will be to determine whether these four cards can come up with 24 points, and if they can, then the program will be given in the formula, if not descr iption can not, and back to 1). 5) When users correctly enter the formula, to evaluate the expression " stack" principle obtained results and determine whether the 24, come to the user to lose to win. 6) asks the user whether to continue, then back to 1), otherwise the end of the program.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

24/
24/readme.doc
24/最后程序代码/
24/最后程序代码/24allfinished_none2.dat
24/测试源程序代码/
24/测试源程序代码/24.c
24/测试源程序代码/24allfinished_none.c
24/测试源程序代码/24finished.c
24/测试源程序代码/24NEW.C
24/测试源程序代码/24NEW1.C
24/测试源程序代码/check_chang.c
24/测试源程序代码/check_chang2.c
24/测试源程序代码/CHECK_IF.C
24/测试源程序代码/check_if.cpp
24/测试源程序代码/check_if_1.c
24/测试源程序代码/check_if_2.c
24/测试源程序代码/check_if_f.c
24/测试源程序代码/CHECK_IF_int.C
24/测试源程序代码/CHECK_IF_int2.C
24/测试源程序代码/CHECK_IF_intall.c
24/测试源程序代码/check_if_not.c
24/测试源程序代码/check_if_not2.c
24/测试源程序代码/check_st.c
24/测试源程序代码/check_stack.c
24/测试源程序代码/check_stack2.c
24/测试源程序代码/gets.c

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com