代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/404076/11492026
c fig10_55.c
/* Bad random number generator */
#include
/* START: fig10_55.txt */
static unsigned long Seed = 1;
#define A 48271L
#define M 2147483647L
www.eeworm.com/read/403944/11497961
cpp e22-03.cpp
// =======================================================
// Chapter 22, Example 3
// Using a seed with time
// =======================================================
#include
#i
www.eeworm.com/read/403944/11497968
cpp e22-01.cpp
// =======================================================
// Chapter 22, Example 1
// Using rand
// =======================================================
#include
#include
www.eeworm.com/read/403944/11497971
cpp e22-02.cpp
// =======================================================
// Chapter 22, Example 2
// Using a seed
// =======================================================
#include
#include
www.eeworm.com/read/402717/11528843
txt 说明.txt
本程序需在DOS下运行。每运行一次可执行程序random.exe,即可显示任意两个
16进制数的加法或减法表达式及其运算结果。在减法运算中,如果被减数小于减数,显示
“Divide Overflow”的提示信息。
www.eeworm.com/read/402683/11529643
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
using namespace std;
//----------------------------------
www.eeworm.com/read/402683/11529683
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
#include
using namespace std;
//-----------------
www.eeworm.com/read/402683/11529698
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
using namespace std;
//----------------------------------
www.eeworm.com/read/402683/11529723
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
#include
using namespace std;
//-----------------
www.eeworm.com/read/402683/11529745
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
#include
using namespace std;
//-----------------