Srand

所属分类:控制台编程
开发工具:Visual C++
文件大小:7KB
下载次数:14
上传日期:2006-06-23 11:40:01
上 传 者管理员
说明:  生成随机数的一个小程序,这种方法每次调用第一次产生的随机数相同率很高,但是做个循环连续调用几次,然后调用最后一次得到的随机数,就可以避免这种问题
(Random Number Generation of a small program called this method the first time the same number of random high rate But to be a continuous cycle called several times, and then the last one was calling random numbers, such problems can be avoided)

文件列表:
Srand\StdAfx.h (769, 2006-06-14)
Srand\StdAfx.cpp (292, 2006-06-14)
Srand\Srand.dsp (4524, 2006-06-14)
Srand\Srand.dsw (533, 2006-06-14)
Srand\Srand.ncb (41984, 2006-06-23)
Srand\Srand.plg (1258, 2006-06-14)
Srand\Srand.cpp (517, 2006-06-14)
Srand\Srand.opt (48640, 2006-06-23)
Srand (0, 2006-06-14)

======================================================================== CONSOLE APPLICATION : Srand ======================================================================== AppWizard has created this Srand application for you. This file contains a summary of what you will find in each of the files that make up your Srand application. Srand.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. Srand.cpp This is the main application source file. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named Srand.pch and a precompiled types file named StdAfx.obj. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者