-> Hi All,
->
-> I've got this friend who is constructing a dice game using Visual C++
-> where one of the required elements is to simulate the throwing of a
-> dice.
-> To cut a long story short does anyone know of an algorithm that can
-> generate numbers between a lower bound value and an upper bound
-> value - in the case of the dice example 1 - 6.
ahh good, the question I was going to ask.
BTW, anyone have a source which generates a true random result?
(for Visual C++ of course)
--- WILDMAIL!/WC v4.12
---------------
* Origin: SchwarzKrieg Online Services, St. Joe, MI 14 gig (1:2340/1.0)
|