搜索资源列表
Ellipse
- 1.(椭圆)画一个与客户区等大,并随客户区改变大小的填充椭圆。(最好可以每次随机确定椭圆边框和填充的颜色,其中随机颜色分量的值,可调用[返回int型随机数的C语言]函数rand,再余上256[可得0~255之间的随机数]:rand() % 256) 2.(直线)用鼠标交互绘制动态直线。(参见3.5的2和3)
speacialrain
- 用vc6编写的一个模仿下雨效果的动画,主要用到划线及画圆的函数,以及一些随机效果-vc6 prepared with a copy of rain effects animation, the main use of the Circle line and function, and some random effects!
c2
- 和计算机玩“石头剪子布”游戏,你可以任选石头剪子布中的一种,计算机也随机产生3种物件之一,根据“石头赢剪子,剪子赢布,布赢石头”的规则判定胜负。思考:怎样增加“三局两胜”的游戏规则?width设置set和get函数。set函数应验证length和width均为0.0到20.0之间的浮点数。- play with a computer to decide who wins
PhotoDlgsj
- 对PhotoDlg的再次修改,采用定时器和rand()函数,增加了随机播放/停止功能。-Modification of PhotoDlg again, using the timer and rand () function, an increase of random play/stop function.
MYTERRAIN2
- 开发工具Visual studio,语言:c/c++,使用OpenGl函数库,编写的一个展示随机地形的程序-use Visual studio develop tool,use c/c++,use OpenGl Library,show the random terrain
