delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/20/21:33:42

From: "Zampelli Stéphane" <xyy AT infonie DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Random numbers...
Date: 16 Aug 1997 18:29:34 GMT
Organization: Ye 'Ol Disorganized NNTPCache groupie
Lines: 13
Message-ID: <01bcaa71$4c08c200$0d5e4ec2@xyy>
NNTP-Posting-Host: zeus.infonie.be
Cache-Post-Path: zeus.infonie.be!unknown AT ppp-94-13 DOT infonie DOT be
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!


I still can't obtain truly random numbers with the srand(), random(), and
rand() functions, because, whatever the seed number i put in srand(), it is
_always the same results.

What can i do about it ?

	A+. Xyy.


- Raw text -


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