代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/367752/9733720
c random.c
#define RANDOM_MODULE
#include
#include
#include "igrid_obj.h"
#include "landclass_obj.h"
#include "globals.h"
#include "random.h"
#include "ugm_macros.h"
/********************
www.eeworm.com/read/367752/9733769
h random.h
#ifndef RANDOM_H
#define RANDOM_H
#ifdef RANDOM_MODULE
/* stuff visable only to the random module */
char random_h_sccs_id[] = "@(#)random.h 1.230 12/4/00";
RANDOM_SEED_TYPE ran_seed;
int
www.eeworm.com/read/171829/9734665
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/367710/9735790
exe random.exe
www.eeworm.com/read/367710/9735792
asm random.asm
DATA SEGMENT
CC DB '+'
ww db '-'
GG DB '='
II DB 0DH,0AH,'$'
AA DB 5 DUP(?)
www dw 0
ghh db '0',0dh,0ah,'$'
bnm dw 0
DATA ENDS
STACK SEGMENT
D
www.eeworm.com/read/171622/9744667
cpp random.cpp
#include "assert.h"
#include "random.h"
Random::Random()
{
idum = (long) -12345; // this is the seed
IA = 16807;
IM = 2147483647;
AM = (1.0/IM);
IQ = 127773;
IR = 2836;
NT
www.eeworm.com/read/171622/9744683
h random.h
#ifndef _RANDOM_H
#define _RANDOM_H
#include
#include
class Random {
public:
Random();
double nextDouble();
double nextDouble(double max);
double nextDouble(double
www.eeworm.com/read/171539/9746626
dsw random.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/171539/9746627
rc random.rc
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
www.eeworm.com/read/171539/9746629
clw random.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CRandomDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "random.