TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JIM ROBIN
from: BILL BUSSONE
date: 1997-05-05 15:54:00
subject: Throw of dice

-> 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.