vc++课程设计 让计算机来猜测用户“暗记”的某张扑克牌

上传者: loveybybyb | 上传时间: 2020-01-03 11:25:49 | 文件大小: 19.2MB | 文件类型: rar
编程序,让计算机来猜测用户“暗记”的某张扑克牌:计算机从一副扑克牌(54张)中任意抽出27张,摆放在不同的三行上(每行9张),用户“暗记”某张纸牌,而后告诉计算机所“暗记”的那张纸牌处于哪一行中;之后计算机再两次将纸牌重新摆放,并让用户再回答两次相同的提问(那张纸牌在重新摆放后又处在哪一行上);此时计算机会将用户所“暗记”的那张纸牌给挑出来。 例如,程序执行后的屏幕显示结果可设计为(其中的前缀a、b、c、d代表四种不同的花色): ------------------------------------------------------------- Line 1: c-9 d-3 a-7 d-9 a-9 c-3 b-8 a-A d-7 Line 2: b-10 a-Q d-6 b-4 a-3 b-9 b-K c-A d-8 Line 3: KING2 d-A b-A a-4 a-2 b-7 d-5 c-7 a-8 ------------------------------------------------------------- Remember a card, and tell me what line it reside in(1/2/3): 3 ------------------------------------------------------------- Line 1: c-9 d-3 a-7 b-10 a-Q d-6 KING2 d-A b-A Line 2: d-9 a-9 c-3 b-4 a-3 b-9 a-4 a-2 b-7 Line 3: b-8 a-A d-7 b-K c-A d-8 d-5 c-7 a-8 ------------------------------------------------------------- What line the card you remembered reside in now (1/2/3) : 1 ------------------------------------------------------------- Line 1: c-9 b-10 KING2 d-9 b-4 a-4 b-8 b-K d-5 Line 2: d-3 a-Q d-A a-9 a-3 a-2 a-A c-A c-7 Line 3: a-7 d-6 b-A c-3 b-9 b-7 d-7 d-8 a-8 ------------------------------------------------------------- What line the card you remembered reside in now (1/2/3) : 1 ------------------------------------------------------------- Your remembered card is : KING2

文件下载

资源详情

[{"title":"( 83 个子文件 19.2MB ) vc++课程设计 让计算机来猜测用户“暗记”的某张扑克牌","children":[{"title":"扑克牌","children":[{"title":"hose.cpp <span style='color:#111;'> 932B </span>","children":null,"spread":false},{"title":"扑克牌Dlg.h <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"扑克牌.cpp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"扑克牌.aps <span style='color:#111;'> 16.74MB </span>","children":null,"spread":false},{"title":"hose.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"扑克牌.clw <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"扑克牌.dsw <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"c8.bmp <span style='color:#111;'> 284.78KB </span>","children":null,"spread":false},{"title":"b13.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d3.bmp <span style='color:#111;'> 273.67KB </span>","children":null,"spread":false},{"title":"扑克牌.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"c7.bmp <span style='color:#111;'> 278.03KB </span>","children":null,"spread":false},{"title":"c11.bmp <span style='color:#111;'> 283.33KB </span>","children":null,"spread":false},{"title":"c3.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d6.bmp <span style='color:#111;'> 281.80KB </span>","children":null,"spread":false},{"title":"b12.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"kingx.bmp <span style='color:#111;'> 283.33KB </span>","children":null,"spread":false},{"title":"a4.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"b10.bmp <span style='color:#111;'> 282.52KB </span>","children":null,"spread":false},{"title":"a11.bmp <span style='color:#111;'> 281.89KB </span>","children":null,"spread":false},{"title":"d10.bmp <span style='color:#111;'> 284.06KB </span>","children":null,"spread":false},{"title":"扑克牌.rc2 <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"c2.bmp <span style='color:#111;'> 285.40KB </span>","children":null,"spread":false},{"title":"d7.bmp <span style='color:#111;'> 281.89KB </span>","children":null,"spread":false},{"title":"b4.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d9.bmp <span style='color:#111;'> 275.90KB </span>","children":null,"spread":false},{"title":"c1.bmp <span style='color:#111;'> 281.08KB </span>","children":null,"spread":false},{"title":"d5.bmp <span style='color:#111;'> 278.84KB </span>","children":null,"spread":false},{"title":"a9.bmp <span style='color:#111;'> 272.75KB </span>","children":null,"spread":false},{"title":"c10.bmp <span style='color:#111;'> 279.45KB </span>","children":null,"spread":false},{"title":"b11.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"b8.bmp <span style='color:#111;'> 284.87KB </span>","children":null,"spread":false},{"title":"c13.bmp <span style='color:#111;'> 280.44KB </span>","children":null,"spread":false},{"title":"king.bmp <span style='color:#111;'> 272.16KB </span>","children":null,"spread":false},{"title":"a7.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"beijing.bmp <span style='color:#111;'> 1010.90KB </span>","children":null,"spread":false},{"title":"fugai.bmp <span style='color:#111;'> 662.01KB </span>","children":null,"spread":false},{"title":"d8.bmp <span style='color:#111;'> 273.76KB </span>","children":null,"spread":false},{"title":"b3.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d2.bmp <span style='color:#111;'> 278.84KB </span>","children":null,"spread":false},{"title":"c6.bmp <span style='color:#111;'> 283.24KB </span>","children":null,"spread":false},{"title":"a5.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"a10.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"a3.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d11.bmp <span style='color:#111;'> 280.27KB </span>","children":null,"spread":false},{"title":"fapai.bmp <span style='color:#111;'> 281.08KB </span>","children":null,"spread":false},{"title":"c5.bmp <span style='color:#111;'> 281.08KB </span>","children":null,"spread":false},{"title":"a6.bmp <span style='color:#111;'> 281.08KB </span>","children":null,"spread":false},{"title":"a12.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"d12.bmp <span style='color:#111;'> 281.89KB </span>","children":null,"spread":false},{"title":"b1.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"a8.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"b6.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"b5.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"c9.bmp <span style='color:#111;'> 285.59KB </span>","children":null,"spread":false},{"title":"d4.bmp <span style='color:#111;'> 282.52KB </span>","children":null,"spread":false},{"title":"c4.bmp <span style='color:#111;'> 281.89KB </span>","children":null,"spread":false},{"title":"b2.bmp <span style='color:#111;'> 283.24KB </span>","children":null,"spread":false},{"title":"d13.bmp <span style='color:#111;'> 279.56KB </span>","children":null,"spread":false},{"title":"c12.bmp <span style='color:#111;'> 282.61KB </span>","children":null,"spread":false},{"title":"a13.bmp <span style='color:#111;'> 280.99KB </span>","children":null,"spread":false},{"title":"b9.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false},{"title":"a1.bmp <span style='color:#111;'> 277.32KB </span>","children":null,"spread":false},{"title":"a2.bmp <span style='color:#111;'> 282.61KB </span>","children":null,"spread":false},{"title":"d1.bmp <span style='color:#111;'> 281.17KB </span>","children":null,"spread":false},{"title":"b7.bmp <span style='color:#111;'> 280.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"扑克牌Dlg.cpp <span style='color:#111;'> 8.49KB </span>","children":null,"spread":false},{"title":"SkinPlusPlus.h <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"扑克牌.dsp <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"SkinPlusPlusDLL.dll <span style='color:#111;'> 780.00KB </span>","children":null,"spread":false},{"title":"Chose.h <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"扑克牌.plg <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"扑克牌.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"SoftCrystal.ssk <span style='color:#111;'> 210.98KB </span>","children":null,"spread":false},{"title":"扑克牌.h <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"SkinPlusPlusDLL.lib <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"扑克牌.ncb <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"扑克牌.rc <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false},{"title":"Chose.cpp <span style='color:#111;'> 973B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明