doodle  0.2
Intended to support teaching C++, doodle is a simple library that helps make a window and makes it easy to do some drawing.
Namespaces | Functions
random.hpp File Reference

Go to the source code of this file.

Namespaces

 doodle
 

Functions

void doodle::seed_random (unsigned int seed) noexcept
 Sets the seed value for random(). More...
 
double doodle::random (double min_inclusive, double max_exclusive) noexcept
 Return a random floating-point number within the range [min,max) More...
 
double doodle::random (double max_exclusive) noexcept
 Return a random floating-point number within the range [0,max) More...
 
double doodle::random () noexcept
 Return a random floating-point number within the range [0,1) More...
 
int doodle::random (int min_inclusive, int max_exclusive) noexcept
 Return a random integer number within the range [min,max) More...
 
int doodle::random (int max_exclusive) noexcept
 Return a random integer number within the range [0,max) More...