delorie.com/archives/browse.cgi | search |
From: | "Chris" <cdk AT hdtinfo DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Generating a set rang of random numbers |
Date: | 28 Mar 1998 03:44:22 GMT |
Organization: | The DataXchange Network, Inc |
Lines: | 11 |
Message-ID: | <01bd59fc$7b2cb4c0$77fc94cd@kuzak.hdtinfo.com> |
NNTP-Posting-Host: | s119.hdtinfo.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
This may sound like a stupid question, but I just can't figure out how to generate a random number within a set range. I can do it when running it through a loop but the iterations of the loop take way too long for this to be a good idea. Can anybody tell me how to do it? If so email me because I don't read this newsgroup too often. thanx Email: hdtinfo.com Homepage: http://www.geocities.com/timessquare/alley/4685/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |