From: "A. Sinan Unur" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. *******************************************************************