代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/134107/14006913
~pas mc_about.~pas
unit MC_About;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Buttons, jpeg;
type
TAbout = class(TForm)
Image1: TIm
www.eeworm.com/read/134087/14009127
c gran1.c
/* gran.c - gaussian random number generator */
double ran(); /* uniform generator */
double gran(m, s, iseed) /* usage: x = gran(m, s, &iseed); */
double
www.eeworm.com/read/134087/14009144
c gran.c
/* gran.c - gaussian random number generator */
double ran(); /* uniform generator */
double gran(m, s, iseed) /* usage: x = gran(m, s, &iseed); */
double
www.eeworm.com/read/133935/14017395
cpp customergroup.cpp
#include"random.h"
#include"customerGroup.h"
random ran;//随机数类ran
customerGroup::customerGroup():groupsize(ran.between(1,5))
{
}//随机产生一个固定大小的顾客群
int customerGroup::orderSize()//购多少份
{
int s
www.eeworm.com/read/133935/14017400
cpp orderevent.cpp
#include
#include"orderEvent.h"
#include
#include"random.h"
#include"event.h"
#include"leaveEvent.h"
#include"storeSimulation.h"
extern storeSimulation store;
orderEvent:
www.eeworm.com/read/133935/14017405
~cpp main.~cpp
#include
#include"customerGroup.h"
#include"event.h"
#include"arriveEvent.h"
#include"simulation.h"
#include"storeSimulation.h"
#include"random.h"
extern storeSimulation store(100);
www.eeworm.com/read/133935/14017419
cpp main.cpp
//#include
#include"customerGroup.h"
#include"event.h"
#include"arriveEvent.h"
#include"simulation.h"
#include"storeSimulation.h"
#include"random.h"
#include
#include
www.eeworm.com/read/133753/14026770
cpp max_a.cpp
//max_a.cpp
#include
#include
#include //randomize(),random
void main()
{ int a,b,c,d;
cout > a >> b >> c >> d;
if (a>b)
www.eeworm.com/read/133753/14026887
cpp stru_stru01.cpp
//stru_stru01.cpp
#include //cin,cout
#include //random()
#include //getch()
struct base
{ char seat[3];
char name[10];
};
struct rec
{ base