登录
首页 » Visual C++ » c5

c5

于 2013-07-23 发布 文件大小:2KB
0 226
下载积分: 1 下载次数: 4

代码说明:

  Function: // riffle Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复. Calls: // Called By: // main() Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序) Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序) Input: //Card card[] 牌结构, int size 结构数组的大小 Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • sanguo
    一款三国游戏,描述名将关羽勇猛杀敌,画面一般,新手上路(A three game, describing famous Guan Yu brave enemy, the general picture, Newbie)
    2011-11-21 22:35:05下载
    积分:1
  • Chess_Easy
    基于Visual C++实现的局域网象棋游戏,Socket通信,多线程。(design the chess game by use Visual C++ , Socket technology, Mutil Thread.)
    2013-09-17 19:04:26下载
    积分:1
  • gobangCPP
    C++五子棋代码,有详细的算法注释,代AI算法...可直接运行(C++ gobang game code-with AI。it can work directly)
    2012-07-01 18:32:24下载
    积分:1
  • C-language-games--gobang-code
    C语言游戏——五子棋,文中详细描述了五子棋游戏的设计规则,如何操作,而且有注释,可以简单明了的看懂操作(C language games- backgammon, backgammon paper describes in detail the design rules of the game, how to operate, and there are notes, you can understand straightforward operation)
    2013-08-15 09:23:21下载
    积分:1
  • XTG-Game-Five
    一个成熟的网上五子期代码,使用层次化开发,都为控件方式,可进行扩充.(a maturity period of five children online code, the use of level of development, to have control, can be expanded.)
    2007-03-23 15:08:14下载
    积分:1
  • black_white_chess
    black white chess black white chess black white chess black white chess
    2009-09-19 16:14:31下载
    积分:1
  • chess
    中国象棋 重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。( Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
    2013-12-17 09:10:12下载
    积分:1
  • luoxuanzhenlie
    用C++实现的螺旋阵列,代码少,且看起来简洁明了(Spiral Array Implementation)
    2010-01-11 19:57:08下载
    积分:1
  • -the-poker-game
    本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
    2013-08-19 15:13:48下载
    积分:1
  • EJXQ
    人机象棋也可以人人对战,有一份管理象棋走法策略的类(Man-machine chess can play against everyone, the class of the chess moves of a management strategy)
    2012-06-07 17:24:08下载
    积分:1
  • 696518资源总数
  • 104744会员总数
  • 33今日下载