登录
首页 » C# » bobing

bobing

于 2011-12-23 发布 文件大小:31KB
0 201
下载积分: 1 下载次数: 7

代码说明:

  设计主要分两部分:博饼功能的实现和图形界面的生成。主要设计两个类,一个是Dice,记录骰子值,根据骰子值在指定位置绘制骰子。另一个类是Game,主要实现大致框体的绘制和博饼功能的实现。博饼功能主要用到伪随机函数。主函数用到两个线程,用来处理后台输入和骰子的循环输出。(Design main is divided into two parts: bo bread and the realization of the function of the generation of graphical interface. The main design two classes, one is the Dice, record the Dice value, according to the Dice in the location specified value draw Dice. Another kind is Game, mainly realizes the drawing of body roughly box beau and the realization of the function of bread. Bo bread function mainly use pseudo-random function. The main () function use two thread, used to deal with the background of the dice input and output cycle. )

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

发表评论

0 个回复

  • easytong
    This is a Tongxunlu system,very easy. 小型通讯系统,DOS界面。(This is a Tongxunlu system,very easy.)
    2012-01-01 16:30:08下载
    积分:1
  • csharpmatlab
    说明:  c#与matlab混合编程--神经网络--tsp(c#,matlab programing-hopfield-tsp)
    2009-07-22 15:32:29下载
    积分:1
  • ReplaceText
    批量替换文件中字符串,方便修改代码中字符串和文件中字符(Replace the file in a string,Easy to modify the code and documentation for the string of characters)
    2013-09-22 17:39:45下载
    积分:1
  • dm365_gpio_drv_yr
    dm365gpio口驱动,编译成功,可以轮流输出高低电平.需要手动mknod,加载驱动后在命令行或在shell脚本里加入mknod /dev/dm365_gpio c 199 0(dm365gpio driver)
    2014-09-21 23:04:54下载
    积分:1
  • ExcelPrint
    使用Excel实现生成、打印数据库报表数据,VC++经典编程学习源码,很好的参考资料。(Use Excel to realize the generation, print database report data, VC++ classic learning programming source code, a good reference.)
    2013-11-25 12:51:28下载
    积分:1
  • ictclas文本分析
    用于文本的分割与处理,可以用作情感分析等(Used for text segmentation and processing, can be used for emotional analysis, etc.)
    2020-06-17 17:00:02下载
    积分:1
  • 911alarm
    蜂鸣器911报警(C语言),c51源程序,适合新手使用(911 buzzer alarm (C language), c51 source, suitable for novice to use)
    2007-11-26 18:10:15下载
    积分:1
  • final
    三维物体模型显示程序设计 利用C语言及OpenGL语言读取OBJ文件,显示三维物体模型 (Three-dimensional object model display program design the use of C language and OpenGL language OBJ read documents to show the three-dimensional object model )
    2009-05-11 10:19:00下载
    积分:1
  • pic_ccs
    基于PICC语言的超声波测距模块的使用,测量距离并用LED显示。(The use of PICC-based ultrasonic ranging module can measure the distance and display it with LED.)
    2020-06-16 07:20:01下载
    积分:1
  • Asntpclieentg
    基于SNTP协议的时间同步客户端的c代码。其中计算传输时间偏移和同步步误差都在客户端实现。可顺利移植到DSP上,用于网络时间同步需要的系统。 (SNTP protocol, time synchronization client c code. Calculated transmission time offset with step-by-step error in the client. Can be successfully transplanted to the DSP, the need for network time synchronization system.)
    2012-10-07 00:35:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载