delorie.com/archives/browse.cgi | search |
Date: | Tue, 17 Jul 2001 14:01:07 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Jan Kowalski <delorie AT poczta DOT arena DOT pl> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: random generator |
In-Reply-To: | <591c995d39584286.39584286591c995d@poczta.arena.pl> |
Message-ID: | <Pine.SUN.3.91.1010717135950.29833G@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 17 Jul 2001, Jan Kowalski wrote: > I have some problems with random generator. I use rand() function to > generate random valua. When I start my program evrey time its generates > the same value. What am I doing with it ? :( This is how `rand' is supposed to work; see section 22.23 of the DJGPP FAQ for more details and explanation how to get a different random series every invocation.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |