www.delorie.com/archives/browse.cgi | search |
Date: | Tue, 6 Apr 1999 15:35:01 -0400 |
Message-Id: | <199904061935.PAA01548@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <923349441.478285@eole> (crousto@infonie.be) |
Subject: | Re: DJGPP's random functions. |
References: | <3705018e AT news DOT ismi DOT net> <923349441 DOT 478285 AT eole> |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> The help file speaks about 2 functions : rand() and random(). I've > noticed that rand (or random, i don't remember ;) return always the > same sequence even with a previous srandom(biostime(0,0)), but the > other one works fine. rand() uses srand() random() uses srandom() Don't mix them together.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |