登录
首页 » Visual C++ » tmp

tmp

于 2011-11-30 发布 文件大小:6KB
0 251
下载积分: 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 个回复

  • vc五子网络版本1.0
    网络五子棋系统,用vc实现.学习vc对话框编程,网络编程。(331 network system, using vc achieve. Learning vc dialog programming, network programming.)
    2005-06-16 12:03:04下载
    积分: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
  • five_vb_tcp
    网络VB语言开发的五子棋,工作量是一周的本科毕业设计。(VB language network Gobang development, the workload is one-week graduate design.)
    2008-12-10 14:52:50下载
    积分:1
  • flychess
    用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。(Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.)
    2021-04-24 14:18:47下载
    积分: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
  • FIRlixiancundang
    五子棋人机对战,离线存档,可以悔棋,切换先手(Backgammon machine war, offline archive can undo switch the upper hand)
    2012-10-23 07:48:53下载
    积分: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
    五子棋小程序,实现双人对抗,能完成悔棋,复盘,等基本功能。在玩棋时,能自动判禁手以及判赢。(Gobang small procedures, to achieve double confrontation, to complete悔棋, rehabilitation sites, such as basic features. Playing chess, they can automatically cut the hands and sub-contractors to win.)
    2008-06-26 21:47:09下载
    积分:1
  • Backgammon
    五子棋是有两个人在一盘棋上进行对抗的竞技运动。在对局开始时,先由用户选择哪方先开局,先开局一方将一枚棋子落在一点上,然后由另一方在对方棋周围的交叉点上落子,如此轮流落子,直到某一方首先在棋盘的直线、横线或斜线上形成连续的五子则该方就算获胜。此时,算法结束。当有任何一方想退出时,都可在算法中实现。(Backgammon is a competitive sport confrontation of two people in a game of chess. At the beginning of the game, the first users to choose which side first start, first start the party will be a pawn falls point, and then by the other party on the other chess around the intersection of Lazi, so turns Lazi, until the party first the chessboard straight, horizontal or diagonal to form a continuous five sons even if the party wins. In this case, the algorithm ends. When either party wishes to withdraw from, can be realized in the algorithm.)
    2012-11-05 20:18:00下载
    积分:1
  • 85646465467
    VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
    2013-08-09 11:36:59下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载