From: bd733 AT rgfn DOT epcc DOT edu (Jason M. Daniels) Newsgroups: comp.os.msdos.djgpp Subject: Re: Random numbers/George Date: 3 Jun 1997 21:19:36 GMT Organization: The Rio Grande Free-Net, El Paso Community College, El Paso, TX Message-ID: <5n21p8$ifd@news.epcc.edu> References: <2 DOT 2 DOT 32 DOT 19970603165722 DOT 006d12ec AT gate> NNTP-Posting-Host: rgfn.epcc.edu Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alan Wilson (awilson AT wilshire DOT com) wrote: > >: srand(time(NULL)); > > > >This will seed the rand() generator; to seed the random() generator, > >replace `srand' with `srandom'. > But will it give TRUE random Numbers???? No, of course not; there is no such thing as a truly random number. But this is certainly better than not seeding at all. -- Jason Daniels -- bd733 AT rgfn DOT epcc DOT edu ---> BELIEVE THE LIE <--- Linux: The choice of a GNU generation. Winblows 95: The world's best-selling computer virus.