在图形系统中,有这么一个「永远」有人执行的有趣程式,它简单地使用随机的大小和色彩绘制一系列矩形。您可以在Windows中建立一个这样的程式,但是它并不像乍看起来那样容易编写。我希望您能认识到,您不能简单地在WM_PAINT讯息中使用一个while(TRUE)回圈。当然,它能够执行,但是程式将停止对其他讯息的处理,同时,这个程式不能中止或者最小化。
在根据一项对随机变量对矩形分配的随机位置。
Allocate random positions within a rectangle according to a pair of random variables.
本文讨论了使用矩形钻探网打中随机定位的一组三维目标的概率估计。
Probability estimate of hitting a group of three-dimensional targets of random orientation using a rectangular drill network is deliberated.
在根据一项对随机变量对矩形分配的随机位置。
Allocate random positions within a rectangle according to a pair of random variables. More...
应用推荐