Pyrogenesis  trunk
rand.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


size_t rand (size_t min_inclusive, size_t max_exclusive)
 return random integer in [min, max). More...

Function Documentation

◆ rand()

size_t rand ( size_t  min_inclusive,
size_t  max_exclusive 

return random integer in [min, max).

avoids several common pitfalls; see discussion at