登录
首页 » Visual C++ » tmp

tmp

于 2011-11-30 发布 文件大小:6KB
0 296
下载积分: 1 下载次数: 7

代码说明:

  编写一个模拟人工洗牌的程序,将洗好的牌分别发给四个人。 使用结构card 来描述一张牌,用随机函数来模拟人工洗牌的过程,最后将洗好的52张牌顺序分别发给四个人。 对每个人的牌要按桥牌的规则输出。即一个人的牌要先按牌的花色(顺序为梅花、方块、红心和黑桃)进行分类,同一类的牌要再按A、K、Q、J、…、3、2牌的大小顺序排列。另发牌应按四个人的顺序依次分发。(Write a simulation program manual shuffle, the cards were sent to wash a good four. Card use to describe the structure of a card, with the random function to simulate the manual process of shuffling, and finally wash the good order of 52 cards were issued to four people. Cards for each person according to the rules of bridge output. That is, a person' s license have to press the card suit (in order of clubs, diamonds, hearts and spades) classification, the same type of licenses to press A, K, Q, J, ..., 3,2 card the size of the order. The other four licensing the order should be distributed.)

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

发表评论

0 个回复

  • 0206220330
    一个用Visal C++编写的俄罗斯方块小程序。(A used Visal C++ Prepared Tetris applet.)
    2008-07-15 08:44:06下载
    积分:1
  • chess
    局域网内的五子棋游戏,WIN32编程,可以很好的学习windows消息机制(Backgammon games, WIN32 programming LAN can be a good learning windows message mechanism)
    2015-06-24 15:52:06下载
    积分:1
  • wuziqi
    五子棋代码 源码 源码 源码 源码 源码 源码 源码 源码 源码 源码(wuziqi )
    2010-12-24 14:32:15下载
    积分:1
  • MFC-game-example
    说明:  [趣味程序导学Visual.Cpp].董未名.文字版MFC,全是游戏实例([gout program guiding Visual. Cpp]. Tung. Text version MFC weiming,All game example)
    2011-04-03 00:48:48下载
    积分:1
  • chess
    中国象棋 重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。( Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
    2013-12-17 09:10:12下载
    积分:1
  • VCPP-chess
    这是一个vc++的中国象棋的程序设计,较为方便(This is a vc++ programming Chinese chess, more convenient)
    2015-05-28 10:14:40下载
    积分:1
  • Source
    俄罗斯方块源码 直接运行可以看到结果。好东西大家分享嘛 (Tetris source code can be run directly see the result. Good things to share with you why)
    2009-01-01 10:22:22下载
    积分:1
  • wuziqi
    该工程是一个非常完整的,优化的五子棋源代码(VC),可以帮你学习路径选择算法和vc编程.(The project is a very complete, optimized Gobang source code (VC), can help you learn the path selection algorithm and programming vc.)
    2007-11-30 15:33:37下载
    积分:1
  • VC++
    残缺棋盘问题的VC++实现,用分而治之方法解决此问题(Defective chessboard problem VC++ Realize, using divide and conquer method to solve this problem)
    2008-02-25 16:11:23下载
    积分:1
  • wzq
    用c语言写的五子棋游戏,用 了人工智能的,算法很好的。(us c)
    2010-05-18 23:09:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载