delorie.com/archives/browse.cgi | search |
Message-ID: | <339110F2.7537@nxus.com> |
Date: | Sun, 01 Jun 1997 02:04:34 -0400 |
From: | cjwhite <cjwhite AT nxus DOT com> |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Random numbers |
References: | <01bc6ce9$72076bc0$363e63c3 AT 8652hvt73761> <338F40EE DOT 5244E66 AT alcyone DOT com> |
Lines: | 7 |
NNTP-Posting-Host: | 204.194.38.16 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I have been playing around with random numbers for a few days using random() % (whatever) but the numbers to not appear to be random. It seems to only randomize when i recompile. I can manually enter a new seed, but i am using this for a game so i need to have the computer generate truly random numbers by itself. Chris
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |