cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/28/19:52:18

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: randomness
Date: Sun, 28 Feb 1999 18:59:49 -0400
Organization: BrunNet
Lines: 22
Message-ID: <36D9CA65.2BB04764@unb.ca>
References: <36d335f8 DOT 5674902 AT news DOT demone1 DOT ia DOT home DOT com> <920167422 DOT 21612 DOT 0 DOT rover DOT d4ee0fa5 AT news DOT demon DOT nl>
NNTP-Posting-Host: ftnts1c23.brunnet.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

XtReMe wrote:

> >How is the best way to get a good random seed for use in srand()?
> >
> >Jonathan
>
> Try this one:
>
> srand (inportb (0x40));

    What is port 0x40?

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlisnis AT BrunNet DOT Net
          Endlisnis AT HotMail DOT com




- Raw text -


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