-
sr
说明: 商人过河的问题,三个商人各带一个仆人、、、(Merchants across the river mathematical modeling problem is a classic problem)
- 2010-03-19 01:14:02下载
- 积分: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
-
shy
计算机图形图像学中基于OPENGL创建的移动光源以及纹理映射程序 (Science in computer graphics to create OPENGL based mobile light and texture mapping procedure)
- 2011-11-22 21:21:42下载
- 积分:1
-
USB
OLED0.91显示的USB电压电流表程序,方便测试USB的电压电流情况(OLED 0.91 shows the USB voltage meter program to facilitate the test voltage and current situation of USB)
- 2015-12-02 18:53:41下载
- 积分:1
-
v1_test_led
Light up LED, realize intelligent control LED, light up two LEDs
- 2020-06-21 23:20:01下载
- 积分:1
-
ga-pso2011
GApso2011 仿真与比较,matlab语言开发的,请大家使用!!(GApso2011 simulation and comparison, matlab language development, please use! !)
- 2011-06-05 09:14:38下载
- 积分:1
-
MPPT
MPPT最大功率点跟踪控制,搭建了并网历程,并且使用MPPT控制。(MPPT maximum power point tracking control, build the grid-connected process, and use MPPT control.)
- 2020-06-20 04:20:02下载
- 积分:1
-
mesh-all-surface
Matlab 的M 文件,实现任意空间曲面的绘制!(matlab m file,draw all surface)
- 2013-02-07 10:56:11下载
- 积分:1
-
senario
vc程序中建立stk场景,添加卫星,驱动卫星按照vc中指定的姿态角运动(vc programme to set up stk senario ,drive satllite attitude movement)
- 2020-09-21 14:47:52下载
- 积分:1
-
0.96OLED显示屏STM32F103C8T6_IIC
0.96寸oled屏幕点亮测试程序(0.96 inch OLED screen lighting test program)
- 2020-06-18 01:20:01下载
- 积分:1