搜索资源列表
C++wuziqi
- 非常好, 有一个小地方要加上判段, 就是 \"双3\" , 两排交错的双 3, 就应该可以结束了. 或一排已经有 4颗而两头又是空的,这时也可宣告胜方,而不是要下满5颗棋才宣告那方胜. 这个代码可当窗体画线画圆很好的示例代码,特加精品.-very good, there is a small place - to add, is the "double 3", two rows of staggered two-three, it should be ended. or
dx_8
- 描给矩形和圆,用到了两个surface,一个是前台缓冲,一个是后台缓冲.-depiction to the rectangular and round, used a two surface, the future is a buffer is a buffer background.
rgznxxmx
- 苹果是红的 杯子是装水的 椅子是用来坐的 食物是吃的 三角形有三个边 苹果是什么样的, 苹果是圆的 吃肉的动物是食肉动物 科学家是有智慧的人 科学是改造自然的学科-apples are red cup of water is used chairs sit in the food to eat triangle has three edge is what Apple The apple is round meat animals ar
hanoi
- MFC汉诺塔游戏。 软件设计了增强的视觉反馈效果,当鼠标滑过,颜色会变得更为鲜艳。【三列的标准色彩为 红、绿、蓝 。】 每当单击某一列,颜色变成灰黑色,表示可以拖动这一列。 请保持exe文件与snd文件夹处于同一目录下面!否则听不到正确的声音! BUG(仅列举未改正的): 1.延时使用了sleep函数,而这个函数 运行时 无法接收其他操作,可能导致失去相应。 2.当圆盘数调至 8个以上时,有时(偶尔)会出现无故的错误,比如程序报错而关闭。 原因尚不
mydraw
- 计算机图形学中 实现画直线 圆 椭圆 ,使用VC
简单的赛车游戏1
- 这个程序是大二时的汇编课程设计,当时也是花了不少时间,因为是初学,很多方 面都遇到了麻烦。首先就是画小车的问题,如果采用子程序,参数的频繁变动将使程序 变得很难阅读,后来终于发现宏的应用将使程序变得更易于阅读,但因为宏调用在编译 时会宏展开,采用宏将使编译后的文件比较大。再就是小车的动画实现及其碰撞检测, 也是历经磨难好不容易才完成。尤其是碰撞检测,也没找到好的方法,以至三个车道绝 大部分代码是重复的,还盼高手指点迷津。原准备用中断做背景音乐的,但没做好,只 做了个显示系统时钟的,让大虾们见笑。
OPENGL.rar
- 用OPENGL实现彩色圆环,其中有代码,下载后可直接解压在VC++6.0或者是VC2008里运行看到效果,Color ring with OPENGL
ArcRectCollides
- 圆和矩形的碰撞检测-Round and rectangular collision detection
Planting
- 天龙八部种地用的,利用画圆公式模拟鼠标来找NPC,不读写内存-Tian Long Ba Bu used in farming, using the formula Circle simulate the mouse came to NPC, do not read and write memory
RobotView
- 双击RobotView.exe,打开应用程序; 2. 菜单中Draw->Block,出现一个对话框,从键盘输入具体值,然后在左边蓝色区域任意位置点击,出现红色的矩形,即设置好障碍物位置,此时右上方区域中相应位置的值从0变为1; 3. 菜单中Draw->RobotPoint,然后在左边蓝色区域任意位置点击,出现绿色的圆,即设置好机器人目前位置; 4. 菜单中Draw->GoalPoint,然后在左边蓝色区域任意位置点击,出现黄色的圆,即设置好目的地位置; 5. 菜
circleAndRectangle
- 该函数运用线程实现同时画圆和方,就如传说中的“左手画圆,右手画圆”-The function used to achieve the same time draw a circle and square thread, as the legendary " left hand draw a circle, right hand draw a circle"
Joseph
- 解决约瑟夫问题,一圈人围在圆桌上,报数,从某人开始数数,数到4(举例)则该人被淘汰,剩下的人继续,直到全部被淘汰,依次输出淘汰顺序-solve Joseph problems: one for the original one, the other is for the new problem, they are similar,but they are not the same.
Circle
- 一个简单的java程序,用来计算圆的面积和周长。-A simple java program to draw a circle.
Clock
- 时钟小程序,可以提供当前时间,圆表图像,仅供参考-Clock applet to provide the current time, a round table image, for reference only
MoveSprite
- 一个类似3D的弹跳球,其实只是改变了圆半径大小、并且移动后的效果-A similar 3D bouncing ball, in fact, just change the radius size, and after the effect of moving
han-nuo-ta
- 计算汉诺塔游戏的步骤,输入有几个圆盘,然后本程序计算从哪一根柱子移动到另一根上面去(这是源代码+程序)-Tower of Hanoi game calculation steps, enter a few discs, then this program to calculate where a post above to move to another root (this is the source code and the program)
frame_ok
- 五子棋游戏,内有画点、线、圆,显示bmp图片的图形库,五子棋以这些为基础实现,在pxa-270开发平台,嵌入式环境:内核2.4,busybox1.0 条件下运行成功。-five framebuffer pxa-270 linux2.4 busybox1.0
hanoi
- 一个小的游戏,把一个柱子上的东西移到另外的柱子上,知道圆盘从大到小依次向上排列-A small game, a post things moved to another post, know the disc from large to small were arranged upwards
chidou
- 一个简单的用C++编写的有些,界面里有四个随处游动的圆豆,人控制一个吃掉其他的来玩游戏-A simple use C++, written some, the interface, there are four swimming everywhere round beans, control one eat the other to play games
hannuota
- C++中用递归的方法解决汉诺塔问题,其中圆盘的个数可以自己输入-C++ using recursive method to solve the Towers of Hanoi problem, which number can be arbitrarily selected