delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/24/20:50:18

Message-Id: <3.0.32.19701231220000.00767290@mail.geocities.com>
Date: Wed, 24 Sep 1997 17:10:55 -0300
To: djgpp AT delorie DOT com
From: Guilherme Silveira <thedarkage AT mail DOT geocities DOT com>
Subject: Re: Random numbers...
Mime-Version: 1.0

Random numbers?

Let me say something...


Why don't you save on a file just an integer and use it for initialize the random algorithm. But there's more one thing. Every time you use this integer, you do the folowing:


integer--;


And save 'integer' back into the file


I think it's a good way for random numbers


Guilherme

---------------------------------------------------------------

            Guilherme Silveira - Sao Paulo - Brasil

                   RoyalBug - Techno Music

                  18/09/1981 - Until Today...

carlos AT usway DOT com - thedarkage AT mail DOT geocities DOT com

          What about taking a look on my page:

http://www.geocities.com/SiliconValley/Way/5441/

DJGPP - Visual Basic - C/C++ - Xcom - Warcraft II

                         THE DARK AGE


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019