搜索资源列表
un
- 猜价格游戏 编写C++程序完成以下功能: 假定有一件商品,程序用随机数指定该商品的价格(1-1000的整数); 提示用户猜价格,并输入:若用户猜的价格比商品价格高或低,对用户作出相应的提示; 直到猜对为止,并给出提示。 -Guess the price game write C++ program perform the following functions: It is assumed that there is a commodity, the program wit
random-integer-cycle
- 用C语言编写一段0-9的随机整数用循环,每次产生1个0-9的随机数赋值给一个数组-C language a period of 0-9 random integer cycle, each generation of a 0-9 random number assigned to an array
test_2
- 2、猜数游戏(cs.c) 功能要求:计算机产生随机数,猜中即胜,猜不中,提示是大了还是小了,继续猜,直至猜到,给出所用时间和评语。(可用vc6直接打开)-2, guess number game (cs.c) Functional requirements: a computer-generated random numbers guessed that wins, imagine not, tips are large or small, kee
armtest
- 这是一个C语言为主,内嵌汇编语言实现的一个产生两个随机数,并且对随机数进行加减的代码,里边还含有SDL做的简单的界面!-This is a C language-based, inline assembly language code for addition and subtraction generates two random numbers and random number inside a simple interface with SDL do!
shengchengmima
- C++编写的代码程序文件 是利用随机数生成强力密码的文件-C++ code written program files is the use of a random number generator strong password file
shuangseqiu
- 使用C语言生成随机数源程序,至上传了c文件,大家有兴趣可以下载看一看-The use of C language to generate random numbers, source
rand-program
- 一个简单的随机数生成程序,采用c++语言,在visual c++ 6.0环境执行-A simple random number generator program, using c++ language, in visual c++ 6.0 environment to perform
RadomData.rar
- 《数据结构》课程中,生成随机数的C++实现。具有很好的参考价值!,The implementation of generation of random data list by C++ programming language.
Random-Number-Generator
- 利用IAR开发软件烧写到zigbee开发板实现随机数产生器-IAR zighbee C Random-Number Generator(Seed By User)_Ex
cauchygauss
- 文件中为产生符合高斯分布和柯西分布的随机数的C++程序。-The random number with gaussian and cauchy distribution are generated by this program.
randomsequence
- 本程序用C语言仿真了高斯分布,瑞利分布,泊松分布的随机数。-The program in C language simulation Gaussian distribution, Rayleigh distribution, Poisson distribution random number.
c_dft
- 在codeblocks下,用C语言写的用来测试随机数离散频谱的小程序,测试的数据存在data.dat文件里面。-rodom c
randzheng
- visual c++编辑的产生具有正态分布性质的随机数,需要输入正态分布的期望和方差-edit the generated visual c++ has a normal distribution nature of random numbers, you need to input the expectation and variance of the normal distribution
random-number
- visual c中随机数产生的程序,可以产生选择范围内的随机数。-visual c in the random number generation program, can generate the random number selection range.
ChineseCode
- 中文验证码源码,C#完美实例,自带判断模块,下面简要说一下本中文验证码的实现思路:获取GB2312编码页(表),调用函数产生4个随机中文汉字编码,根据汉字编码的字节数组解码出中文汉字,生成随机生成器,清空图片背景色,画图片的背景噪音线,画图片的前景噪音点,画图片的边框线。 CreateCode函数在汉字编码范围内随机创建含两个元素的十六进制字节数组,每个字节数组代表一个汉字,并将 四个字节数组存储在object数组中,参数:strlength,代表需要产生的汉字个数。每循环一次产生一个
shuffle
- 在Java语言中生成随机数相对来说比较简单,因为有一个现成的方法可以使用。在Math类中,Java语言提供了一个叫做random的方法。通过这个方法可以让系统产生随机数。不过默认情况下,其产生的随机数范围比较小,为大于等于0到小于1的double型随机数。虽然其随机数产生的范围比较小,不能够满足日常的需求。如日常工作中可能需要产生整数的随机数。其实,只要对这个方法进行一些灵活的处理,就可以获取任意范围的随机数。 -how to make it in c or c++ using the sh
rand
- C++ 将产生的随机数存入文件中,使用冒泡、快速、归并、希尔排序并计算排序时间,将排序时间存入excel中-The random number C++ will be stored in the file, using the bubble, quick, merge, Hill sort and calculate the sorting time, sorting time in Excel
First_Test1
- 1、使用System.Array类的方法获取已知数组(数组元素为80,90,67,89,78,85,45,69,77,95)的维数、长度,并对数组排序、反转。 提示:Rank,Length,Sort(),Reverse() 2、 使用Random方法生成随机数。数组A中有8个互不相同的元素,数组B中有5个互不相同的元素,A和B中的数为100以内的正整数。编程产生数组C,C中包含在A中但不在B中的元素。 任意输入两个正整数a,b, 求a+b的和, a,b的取值范围为1—10100
demining
- C++ 扫雷游戏辅助源码,学习如何定义一个顶级窗口的指针,如何创建游戏窗口菜单、窗口主界面、随机创建雷、如何布置雷区、鼠标左键注册、设定右键可用,利用时间来生成随机数等。-Auxiliary source of C++ minesweeper game, learn how to define a top-level window pointer, how to create the menu of the game window, the main window interface, ran
random
- 用C语言编写一段0-9的随机整数用循环,每次产生1个0-9的随机数赋值给一个数组-Written in C language for a period of 0-9 random integer loop, each produce a 0-9 random number assigned to an array