www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/02/18:07:03

From: Richard Fabian <richard AT the-fabians DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Random numbers
Date: Sun, 2 May 1999 22:26:35 +0100
Message-ID: <wCsfVAALMML3Ew7U@the-fabians.demon.co.uk>
NNTP-Posting-Host: the-fabians.demon.co.uk
X-NNTP-Posting-Host: the-fabians.demon.co.uk:212.228.244.227
X-Trace: news.demon.co.uk 925680760 nnrp-12:4520 NO-IDENT the-fabians.demon.co.uk:212.228.244.227
X-Complaints-To: abuse AT demon DOT net
MIME-Version: 1.0
X-Newsreader: Turnpike (32) Trial Version 3.05 <JkZHTbFGKa0MJnchoAZBSAsIdT>
Lines: 9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Two questions related to random number generation:
1. If you generate a set of random numbers using the same seed on
different machines, do you get the same set?
  (I want to make a fractal landscape map that is the same for everyone)

2. Is there a way to generate random numbers without accessing the
rand() function. (i.e. is there an algorithmic way to generate rand())
-- 
Richard Fabian

- Raw text -


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