From: scott AT helsbreth DOT org (Scott Nelson) Newsgroups: comp.os.msdos.djgpp Subject: Re: Random Number Message-ID: <364913ca.41613643@news.inreach.com> References: <71pman$d56$1 AT utah DOT laird DOT net> X-Newsreader: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Wed, 11 Nov 1998 04:35:21 GMT NNTP-Posting-Host: 209.142.18.112 NNTP-Posting-Date: Tue, 10 Nov 1998 20:35:21 PDT Organization: InReach Internet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 4 Nov 1998 05:55:50 -0800, "Joe" wrote: >I have a similar question that is not covered in the faq. I know about srand >rand and random. What I need to do is get a number that is less than >MaxRandomNumber such as a series of random numbers between 1 and 100. How >could I do this? > Here's a link to an example program that probably answers your question. http://www.helsbreth.org/random/shuffle.html ----------------------------------- Shameless plug for random web site: http://www.helsbreth.org/random Scott Nelson