Description
Random number sequences generated in Delphi using the native Random function leave much to be desired. By default the same number sequence is produced each time the parent application is run. Matters can be improved to a certain extent by seeding the random number generator using the system clock by calling the Randomize function.
However, this does not change the fact that the algorithm used is quite simplistic. Algorithms of greater complexity that claim to yield more random sequences abound. However, it is not really necessary to code such an algorithm. Windows comes with an intrinsic random number generator in the form of the CoCreateGUID function. We demonstrate how it can be used with a minimum of coding to create a truly robust sequence of pseudo-random numbers.
Related:
Delphi - Pseudo-Random Numbers - Random - Randomize - Randseed
User Reviews:
| User: | User Rating: 5 |
| Hoping this is a good once | |
Records 1-1 of 1
Related:
Hex Editor Delphi 5 Control 1.0Powerful Hex Editor Delphi 5 VCL Control. Features: Multilevel undo/redo; Print; Insert/Over edit mode; Fast find/replace text; View and edit as...By: Penko Kovatchev |
Freeware |
Secure Actions 1.0TheDevShop's Secure Action List allow you to easily add user security at the program function level. We layer security on top of the versatile...By: TheDevShop |
Shareware |
DontMixHtmlAndAsp 1.00This component is a framework that helps you to organize your ASP code and dont mix it with HTML. I did it in Delphi 5.The source costs $12 and you...By: Joao Kramer |
Freeware |
Eval library 5.1Runtime parser with end user visual interface. Nice for creating calculators, runtime evaluation, runtime filter design,By: Peter Cirip |
Shareware |
Tplanner 1.0TPlanner v1.0 : Delphi 3,4,5 & C++Builder 3,4,5Description:A flexible & powerfull day/month/week/custom scheduling user interfacecomponentFeatures...By: TMSSOFTWARE |
Freeware |
Generating Random Number Using RND Function And Randomize StatementThis article explains about the task of searching random numbers between any two limits. In this tutorial the lower bound is given as 1 and the...By: Dotnetindex |
Freeware |
Clarification on Random NumbersClarification on Random Numbers is a web based tutorial which deals with various solutions for creating random numbers in the users website. This...By: Robert Chartier |
Freeware |
Secure Programming : Random NumbersThis paper discusses how to get secure random numbers for your application. We describe how to take a single, secure, random number (a seed), and...By: Carlos Aquino |
Freeware |
Generate a random numberGenerating random numbers in ASP applications for example to sort database records randomly and to display random number with registration form,...By: MarkPrijs.nl |
Freeware |
Generate a Random Picture with ASPThis ASP article provides the step by step explanation to create the random numbers for the images you use with your ASP page. Lets you to use the...By: Michael Wall |
Freeware |
- Random Number Generator
A small, simple open-source shareware program by Scott Donato Saccenti [Win95]. - Random Number Generator
KISS RNG by George Marsaglia - Random Number Generator Algorithms
Documentation of algorithms in the GNU Scientific Library Reference Manual. - Gaussian Random Number Generator
Code to generate autocorrelated Gaussian variates by S. Tim Hatamian. - Segobit Software: Random Number Generator Pro
Windows application to generate several random numbers in a given range, subject to constraints like excluding certain... - Mersenne Twister Pseudo Random Number Generator Classes
Offers multiple replacement implementations for java.util.Random. [Open Source] - Netlib: Random Number Generators
Source code for various random number generators in C and Fortran, including the well-known RANLIB library supporting many... - Pseudo Random Number Generators
Algorithms for good random number generators with theoretical discussion and software examples. - True Random Number Service
Random number generator with a CORBA IDL interface. Numbers are generated with atmospheric noise. - Hardware Random Number Generators
Report on testing and applications by Robert Davies, October 2000.
