Advertisement

Generating Random Numbers

  • Ivor Horton

Abstract

The need to generate random numbers arises very often. Most games programs, programs that simulate the real world, almost always need the ability to generate random numbers. Testing a complex program usually needs random input at some point to validate that the program works under diverse conditions, and it’s often convenient to generate such input programmatically. Of course, random numbers can be used to generate random choices of objects, so you have the ability to create random selections of anything.

Keywords

Random Number Generator Function Member Random Number Sequence Constructor Argument Stream Manipulator 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material

978-1-4842-0004-9_8_MOESM1_ESM.zip (10 kb)
Chapter 8 (zip 10 kb)

Copyright information

© Ivor Horton 2015

Authors and Affiliations

  • Ivor Horton
    • 1
  1. 1.WAUK

Personalised recommendations