ex-ran.cpp
来自「Uniform random number generators by A」· C++ 代码 · 共 16 行
CPP
16 行
/*************************** EX-RAN.CPP ********************* AgF 2007-09-23 *
* *
* Example showing how to use random number generators from class library. *
* *
* Instructions: *
* Compile for console mode, and run. *
* *
* This example uses the "Mersenne twister" random number generator. *
* To use the "Mother of all" random number generator, replace the class name *
* CRandomMersenne with CRandomMother and include mother.cpp. *
* *
* To use the faster assembly language implementation, use class name *
* CRandomMersenneA or CRandomMotherA, include asmlibran.h and link with *
* the appropriate version of the asmlib library from asmlib.zip. *
* *
*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?