From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Random numbers... Date: Sat, 23 Aug 1997 08:34:31 -0400 Organization: Cornell University http://www.cornell.edu Lines: 29 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33FED8D7.3AC7@cornell.edu> References: <01bcaa71$4c08c200$0d5e4ec2 AT xyy> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0088.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit Precedence: bulk Zampelli Stéphane wrote: > 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 ? the c faq is available at: http://www.cis.ohio-state.edu/hypertext/faq/usenet/C-faq/faq/faq.html see questions 13.15 to 13.20. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************