代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/426694/9003944
c random.c
/*
* 实现均匀分布随机数发生器。
*/
#include /*函数printf需要*/
#include /*函数exit需要*/
#include /*函数strlen需要*/
#include /*函数time需要*/
#define WORDLONG 65536 /*定义16
www.eeworm.com/read/426694/9003947
o random.o
www.eeworm.com/read/283498/9015607
asm random.asm
;
; Random number generator.
; Original author: unknown. This code was pulled off one of the nets and
; added to the library. Any information on the original
; author would be appreciate
www.eeworm.com/read/382584/9020166
c random.c
#include
#include
void main(void)
{
int i;
printf("Values from rand\n");
for (i = 0; i < 100; i++)
printf("%d ", rand());
printf("Values from rando
www.eeworm.com/read/283457/9020387
h random.h
#include
/* variables are declared static so that they cannot conflict
with names of */
/* other global variables in other files. See K&R, p 80, for
scope of static */
static double
www.eeworm.com/read/382395/9032089
c random.c
#include
#include
void main(void)
{
int i;
printf("Values from rand\n");
for (i = 0; i < 100; i++)
printf("%d ", rand());
printf("Values from rando
www.eeworm.com/read/283162/9038701
mpg random.mpg
www.eeworm.com/read/185213/9050039
dat random.dat
www.eeworm.com/read/282808/9059556
vwf random.vwf
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to
www.eeworm.com/read/381951/9061702
inl random.inl
//random.inl 随机函数(方法)定义
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _RANDOM_INL
#define _RANDOM_INL
//产生一个[0,1]区间内均匀分布伪随机数
inline double
rand_01_One(double& seed)
{