cvs.gedasymbols.org/archives/browse.cgi | search |
From: | ams AT ludd DOT luth DOT se (Martin Str|mberg) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP's random functions. |
Date: | 2 Apr 1999 17:57:02 GMT |
Organization: | University of Lulea, Sweden |
Lines: | 15 |
Message-ID: | <7e30de$bca$3@news.luth.se> |
References: | <3705018e AT news DOT ismi DOT net> |
NNTP-Posting-Host: | queeg.ludd.luth.se |
X-Newsreader: | TIN [UNIX 1.3 950824BETA PL0] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Ike Gingerich (drone AT ismi DOT net) wrote: [Klippa, klapp, kluppit original message.] Please don't post html-ish. Eeeh, how about reading the dokumentation for rand()? There you'll see that it is suggested that the PRNG is seeded with a call to srand(). Additionally it is suggested that the parameter to srand() be based on system time. Pettersson, Symphony No. 5, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |