Location:
Search - vc rand
Search list
Description: 这是一段用VC++编写的平均取中法生成随机数的代码,已经经过调试,可以产生一组随机数
Platform: |
Size: 3423 |
Author: ylb |
Hits:
Description: 这是一段用VC++编写的平均取中法生成随机数的代码,已经经过调试,可以产生一组随机数-This is a VC to prepare with the average check and France generated random number code, have been debug, can generate a set of random numbers
Platform: |
Size: 3072 |
Author: |
Hits:
Description: 论文盲审随机抽取系统,以VC++6.0为平台,以MS Excel为数据库,把按照用户指定的比例把随机选择的结果存储进数据库。-Thesis blind trial randomly selected system to VC++6.0 as a platform to MS Excel for the database, put in accordance with the user-specified proportion of the results of the random selection stored into database.
Platform: |
Size: 489472 |
Author: 安田 |
Hits:
Description: 介绍了在vc中产生随即数的常用方法,方便应用程序的开发。-rand number
Platform: |
Size: 1024 |
Author: 王淼 |
Hits:
Description: 关于VC随机数的具体运用方法,概率等问题,源代码提供跟深入的学习内容-This file contains a summary of what you will find in each of the files that
make up your rand application.
Platform: |
Size: 7168 |
Author: wangzhe |
Hits:
Description: 一种跑跑的小游戏,基于vc++的三种实现方法,可以直接下载使用-A kind of 跑跑 game, based on vc++ in three ways, you can directly download
Platform: |
Size: 1259520 |
Author: wangminmin |
Hits:
Description: VC 遗传算法。文件中包括多个程序代码,有最基本二进制遗传代码。
另外包含多个改进遗传算法代码,C语言开发。在VC下可运行。
唯一需要改进的是:第一:目标函数(结合你自己需要求解的问题)
第二:随机函数。(代码中是自己写的库,在一些电脑上运行不正确。可以换成已有的rand)。在我另外上传的一个资料中已经更正。但这是最原始的,容易理解。所以上传上来。-Gene Algorithm
Platform: |
Size: 1455104 |
Author: zhoulimin |
Hits:
Description: 随即抽取数据的一个典型的VC的例子,看看是不是你要找的-Then extract the data example of a typical VC, see if you re looking for
Platform: |
Size: 34816 |
Author: 温格 |
Hits:
Description: 在vc中产生一个健壮的随机数,不使用random,或是rand函数-Vc generated in a robust random number, do not use random, or the rand function
Platform: |
Size: 1024 |
Author: linlin |
Hits:
Description: 线性同余法生成随机数的文章,描述了算法原理,和Vc代码实现-Linear congruential method to generate random numbers of the article, describes the principle of the algorithm, and Vc code
Platform: |
Size: 7168 |
Author: 韩冰 |
Hits:
Description: VC中如何生成随机数,比如说 获奖号码的产生-VC in how to generate random numbers, for example, the generation of winning number
Platform: |
Size: 1867776 |
Author: yuexiaren |
Hits:
Description: 这段源码可以在VC上运行,稍加改动就可以在其他C或C++下运行。它能以70多M字节/秒产生真随机数。为了简单这里产生10M字节的随机数,放在rand.dat文件里。可供考察。
之所以能产生随机数原理前面重复多次了。这里用的方法是先建造有规律的数组,以字节为单位,数值从0到255,不断重复。然后对这个数组进行随机排序,随机数来自Nm()函数,它读系统计数器的低32位数值做模256运算得到交换序列号n1,并让序列号为i和n1的数据交换数值,并充填结果数组。-This code can be run on the VC, little change in other C or C run. It can take more than 70 M bytes/sec generate true random numbers.
For simplicity here, 10M bytes of random number generation, on the rand.dat file. Available for inspection.
Principle has been able to generate random numbers in front of repeated many times. The method used here is to build a regular array, in bytes,
Value from 0 to 255, repeat. Then a random array of the sort, a random number from Nm () function, which counters the low reading system
Do 32-bit value to be exchanged computing model 256 serial number n1, and let the sequence number i and the value n1 of data exchange, and fill the result array.
Platform: |
Size: 1024 |
Author: LonlyGod |
Hits:
Description: 用VC产生一组随机数,根据这组数据作图
用VC产生一组随机数,根据这组数据作图-draw a graphic base on the data produce by the funtion "rand"
Platform: |
Size: 5609472 |
Author: Figo |
Hits:
Description: VC++绘制窗口的实例源码下载,星空绽放-浅墨的窗口绘制Demo源码,是毛星云VC++游戏开发笔记系列配套源码,使用了BMP图像资源为素材。牵扯到一些粒子编程,设定该粒子存在的时间为零,按粒子编号i来决定粒子在哪个象限运动,且x,y方向的移动速度随机为1—15之间的一个值,由1+rand() 15来完成。50个粒子由for循环设置完成后,我们将粒子数量设为50,代表目前有50颗星光,先在内存dc中贴上背景图片,判断粒子是否还存在,若存在,则根据其坐标(flystar[i].x,flystar[i].y)进行贴图操作,进行条件判断,若某粒子跑出窗口区域一定的范围,则将该粒子设为不存在,且粒子数随之递减…… -VC++ example source download of the drawing window, the sky bloom- the window of the light ink drawing Demo source is Mao Xingyun VC++ game development notes series supporting source, the use of BMP image resource material. Involve particles programming, setting the zero time of the particles, particle number i to determine the particle in which quadrant sports, and the x, y direction of the movement speed random for between 1-15 a value from 1+ rand () 15 done. 50 particles after the completion of the for loop is set, we will be the number of particles is set to 50, representing at present there are 50 Stars, first paste the background image in the memory dc, to determine whether the particles exist, if there is, according to its coordinates (flystar [i]. x, flystar [i]. y) mapping operations to determine the conditions, if a particle is ran out of the window area a certain range, the particle is set to does not exist, and the number of particles followed by decreasing ...
Platform: |
Size: 1262592 |
Author: |
Hits:
Description: 产生随机数函数的使用,是用vc++编写的,初学者很容易看懂并使用-rand function
Platform: |
Size: 24576 |
Author: jane |
Hits:
Description: 介绍了在vc中产生随即数的常用方法,方便应用程序的开发。-rand number
Platform: |
Size: 1024 |
Author: guaan36273 |
Hits:
Description: 在vc中产生一个健壮的随机数,不使用random,或是rand函数-Vc generated in a robust random number, do not use random, or the rand function
Platform: |
Size: 1024 |
Author: nanag43793 |
Hits: