登录
首页 » c++ » useful code

useful code

于 2022-07-02 发布 文件大小:24.14 kB
0 68
下载积分: 2 下载次数: 1

代码说明:

为那些想开始学习c++编程的大工程师编写的c++代码。

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

发表评论

0 个回复

  • -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
  • admm_simpllified
    admm,压缩感知的重构程序,内有仿真信号(admm,compressive sensing)
    2017-02-21 16:15:33下载
    积分:1
  • 复件 LL1
    简单的LL1分析器,可以作为学习,作业用.(simple LL1 analyzer can be used as study, work with.)
    2005-05-06 17:00:44下载
    积分:1
  • 野火STM32F103-MINI开发板用户手册
    说明:  F103 Wildfire User Manual
    2020-12-13 18:24:45下载
    积分:1
  • Example_2
    说明:  鸡舍的智能补光程序,白天晚上自动补光开灯关灯 ,(The intelligent lighting program of the chicken coop can automatically fill the light on and off during the day and night.)
    2020-06-18 13:00:01下载
    积分:1
  • NRF905程序
    此程序包含所有NRF905的通讯程序,非常详细
    2022-12-07 09:20:03下载
    积分:1
  • LCS
    longest common subsequence implementation
    2009-08-09 23:29:23下载
    积分:1
  • 红外学习程序
    说明:  在该压缩包中包含了万能红外学习的源代码和资料。(The compression package contains the source code and information of universal infrared learning.)
    2019-10-03 13:28:46下载
    积分:1
  • Smoke
    Demo for smoke effects on old NVIDIA GPUs.
    2019-01-17 08:05:28下载
    积分:1
  • USB-keyboard
    这是C8051F320 USB键盘程序,对于学习USB是个非常好的列子(This is a C8051F320 USB keyboard program for USB is a very good learning Liezi)
    2011-06-20 17:19:28下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载