delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/03/13:03:46

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019