delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/03/03:36:44

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie Question: Random Numbers
Date: Sat, 26 Jul 1997 09:31:58 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 28
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33D9FC4E.732C@cornell.edu>
References: <01bc9a61$57701640$204678c7 AT warren1>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0089.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Warren Smith wrote:
> 
> How can I get a truly random number (w/o the same sequence of numbers
> appearing over and over)?

there is _NO_ computer generated truly random number. that is why they
are called pseudo-random numbers.

do you basically want to seed the random number generator with a
different seed every time you use it? take a look at the documentation.
also, search the mail archives at http://www.delorie.com/djgpp/.

for your question on microsoft obj files, consult the faq. it is not
appropriate to post questions that are already answered in the faq.

for pointers on windows programming info, take a look at
http://www.people.cornell.edu/pages/asu1/
-- 
   Sinan
 
*******************************************************************
 A. Sinan Unur                                WWWWWW
                                              |--O+O
 mailto:sinan DOT unur AT cornell DOT edu                C   ^ 
 http://www.people.cornell.edu/pages/asu1/     \  ~/ 

Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************

- Raw text -


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