delorie.com/archives/browse.cgi | search |
Message-Id: | <2.2.32.19970603165722.006d12ec@gate> |
Mime-Version: | 1.0 |
Date: | Tue, 03 Jun 1997 09:57:22 -0700 |
To: | djgpp AT delorie DOT com |
From: | "Alan Wilson" <awilson AT wilshire DOT com> |
Subject: | Re: Random numbers/George |
At 01:46 AM 6/3/97 GMT, you wrote: >Chris Mangum and Savanna Judd (sneeches AT cruzio DOT com) wrote: > >: Try using this: > >: srand(time(NULL)); > >This will seed the rand() generator; to seed the random() generator, >replace `srand' with `srandom'. > >-- >George Foot <mert0407 AT sable DOT ox DOT ac DOT uk> But will it give TRUE random Numbers???? Alan Wilson
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |