CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - srand

搜索资源列表

  1. 彩票号码

    0下载:
  2. 一个小的彩票号码产生程序,35选7的那种。 泳srand函数产生随机数-a small number of tickets have procedures, 35 of which 7 election. Beach srand functions to generate random numbers
  3. 所属分类:其它

    • 发布日期:2008-10-13
    • 文件大小:29.91kb
    • 提供者:汤目
  1. Srand

    0下载:
  2. 生成随机数的一个小程序,这种方法每次调用第一次产生的随机数相同率很高,但是做个循环连续调用几次,然后调用最后一次得到的随机数,就可以避免这种问题-Random Number Generation of a small program called this method the first time the same number of random high rate But to be a continuous cycle called several times, and then the
  3. 所属分类:控制台(字符窗口)编程

    • 发布日期:2008-10-13
    • 文件大小:7.4kb
    • 提供者:张团周
  1. srand()

    0下载:
  2. srand()就是给rand()提供种子seed-srand () is for the rand () provide seed seed
  3. 所属分类:其它

    • 发布日期:2008-10-13
    • 文件大小:2.09kb
    • 提供者:朱正
  1. Srand

    0下载:
  2. 生成随机数的函数,可以指定随机数的大小和数量
  3. 所属分类:其它

    • 发布日期:2008-10-13
    • 文件大小:11.57kb
    • 提供者:张良
  1. rand

    0下载:
  2. 均匀分布伪随机数发生器 伪随机数在计算机软件设计中有很广泛的用途。本文介绍了基于数学方法的利用计算机产生伪随机数的一种方法,即线性同余法,任何伪随机数的产生都是运用递推的原理来生成的。以及在Visual C++环境中产生伪随机数的两个重要函数,rand和srand函数,正确地使用这两个函数是产生性能良好的伪随机数的关键
  3. 所属分类:数值算法/人工智能

    • 发布日期:2008-10-13
    • 文件大小:8.93kb
    • 提供者:徐雷
  1. srand

    0下载:
  2. 随机取数函数,用于获取随机数,C C++中都可以使用-srand rand
  3. 所属分类:Algorithm

    • 发布日期:2017-03-30
    • 文件大小:15.13kb
    • 提供者:曹召飞
  1. normaldistribution

    0下载:
  2. #include <stdlib.h> #include <stdio.h> #include <time.h> #include <fstream> #include <iostream> using namespace std struct Code { float a char s } Code cc[8]={{0.25, a },{0.3,
  3. 所属分类:Windows Develop

    • 发布日期:2017-03-21
    • 文件大小:809byte
    • 提供者:糊涂
  1. VirtualStore

    0下载:
  2. 本实验的程序设计基本上按照实验内容进行。即首先用srand()和rand()函数定义和产 生指令序列,然后将指令序列变换成相应的页地址流,并针对不同的算法计算出相应的命中 率-The experimental procedure is basically the design of the content in accordance with the experiment. That is, first of all with srand () and rand () function
  3. 所属分类:OS Develop

    • 发布日期:2017-05-15
    • 文件大小:2.21mb
    • 提供者:彭格
  1. justforfun

    0下载:
  2. srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] +
  3. 所属分类:Linux-Unix program

    • 发布日期:2017-03-29
    • 文件大小:4.08kb
    • 提供者:xrgj
  1. yacc

    0下载:
  2. srand[getpid[]] /* initialize some of the memory */ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128] +
  3. 所属分类:Linux-Unix program

    • 发布日期:2017-03-30
    • 文件大小:11.68kb
    • 提供者:xrgj
  1. srand

    0下载:
  2. 产生随机数并新建文件,输出随机数到文件。-Generated random number and the new document, the output of random numbers to a file.
  3. 所属分类:Windows Develop

    • 发布日期:2017-03-30
    • 文件大小:1.81kb
    • 提供者:mqq87
  1. Exam094

    0下载:
  2. 遗传算法,通过对多项式求最小值,介绍遗传算法,用了srand()和rand()两个函数-Genetic algorithm, the minimum value of the polynomial order to introduce genetic algorithm, with the srand () and rand () function of two
  3. 所属分类:AI-NN-PR

    • 发布日期:2017-04-13
    • 文件大小:2.38kb
    • 提供者:李运
  1. test_22.2

    0下载:
  2. 2、 编写一个产生1000个1到10范围内的随机数的程序。不要保存或打印数字,仅打印每个数被产生了多少次。让程序对10个不同的种子值进行计算。数字出现的次数相同吗?可以使用自定义的随机函数或ANSI C中的函数rand()和srand()。这是一个测试特定随机数发生器的随机性的方法。-1000 arising from the preparation of a 1-10 range of the random number procedure. Do not save or print the
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-05
    • 文件大小:651byte
    • 提供者:qfnu08zzr
  1. test_22.3

    0下载:
  2. 3、 编写一个函数。该函数接受下列参数:一个int数组的名称,数组大小和一个代表选取次数的值。然后函数从数组中随机选择指定数量的元素并打印他们。每个元素最多选择一次(模拟抽奖或挑选陪审成员)。另外,请使用time()或其它类似的函数生成种子。以便srand()函数初始化随机数生成器rand()。编写一个简单的程序测试该函数。-The preparation of a function. The function accepts the following parameters: the name
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-11
    • 文件大小:734byte
    • 提供者:qfnu08zzr
  1. randfunction

    0下载:
  2. rand()会返回一随机数值,范围在0至RAND_MAX 间。在调用此函数产生随机数前,必须先利用srand()设好随机数种子,如果未设随机数种子,rand()在调用时会自动设随机数种子为1。-随即函数
  3. 所属分类:Other systems

    • 发布日期:2017-04-07
    • 文件大小:3.57kb
    • 提供者:jane
  1. rand

    0下载:
  2. 功能描述:编写一个产生N个X到M范围内的随机数的程序。不必保存或打印数字, 仅打印每个数被产生了多少次。让程序对10个不同的种子值进行计算。 数字出现的次数相同吗?可以使用本章中的函数或ANSI C中的函数rand()和srand(), 它们与我们的函数具有相同的形式。这是一个测试特随机数发生器随机性的方法。 注:这本书的编程练习至今还没有感觉到难度, 不过验证了书上的说法不同的种子在大多数情况下也不同可能得出相同的随机数, 看来这回我的实践还是有用的,好戏还在后头啊。
  3. 所属分类:Other systems

    • 发布日期:2017-03-29
    • 文件大小:1.33kb
    • 提供者:adsf
  1. Picture

    0下载:
  2. 1. 使用 Canvas->CopyRect() 分割图片 2. 动态产生物件 3. 使用 TList 储存元件 4. srand, random 产生乱数的方法 5. 产生不重复乱数(抽牌法) -1. Using Canvas-> CopyRect () split image 2. Dynamically generated object 3. Use TList storage components 4. Srand, random way to gener
  3. 所属分类:Special Effects

    • 发布日期:2017-04-03
    • 文件大小:222.35kb
    • 提供者:picture
  1. Crand()srand()fangfa

    0下载:
  2. c语言产生随机数中rand()和srand()方法的比较和实现,希望对同学有所帮助-generate random numbers in c language rand () and srand () method of comparison and, and the hope of help students
  3. 所属分类:Windows Develop

    • 发布日期:2017-03-28
    • 文件大小:12.97kb
    • 提供者:KENNY
  1. Bank-queuing-simulation-program

    0下载:
  2. 银行排队仿真程序,对银行的排队进行仿真,该程序的主要模拟银行从开始营业到下班的人流问题,程序给出了队列的动态模拟(用字符“*”表示人),客户的来以及办理时间均为随机数,由库函数srand()产生,基本按C++数据封装的思想实现,在main中放了一个界面壳子。程序是用C++在VS上编出来的-Bank queuing simulation program, the simulation line up on the banks of the main simulation program open
  3. 所属分类:Windows Develop

    • 发布日期:2017-03-29
    • 文件大小:21.14kb
    • 提供者:xiangyunl
  1. game

    0下载:
  2. 一付扑克牌52张共4种花色,使用C++ 中的产生随机数的函数(参看rand(),srand()等函数的使用说明)一个随机数,选取一张牌,将其与最前面的牌交换位置,即将选取的牌放在最前面;然后对数组p余下的牌重复选取操作,直到所有牌均重排列;最后按13行*4列输出发牌结果-A pair of playing cards 52 of 4 kinds of colors, the use of C++, random number generation function (see rand (), s
  3. 所属分类:AI-NN-PR

    • 发布日期:2017-03-24
    • 文件大小:512.68kb
    • 提供者:kaishuiping
« 12 »
搜珍网 www.dssz.com