DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
random number generator for floats
float r3 = LO + static_cast <float> (rand()) /( static_cast <float> (RAND_MAX/(HI-LO)));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#random
#number
#generator
#floats
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit