Date: Sat, 28 Mar 1998 10:41:10 -0800 (PST) Message-Id: <199803281841.KAA16599@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: killferfun AT aol DOT com (KillFerFun), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Simple random number generation question Precedence: bulk At 10:36 3/27/1998 GMT, KillFerFun wrote: >How do you seed the random number generator (like with Borland's randomize() >function)? `srand' or `srandom', depending on whether you use `rand' or `random'. A good seed value is `time(NULL)'. >Is there any list of legal DJGPP commands and usages? I use a Borland C++ help >file, but many of the functions are not portable. Could someone point me to a >URL? Much appreciated... You mean, the functions in the C library? You should have the info file with all that (type `info libc'), and I think it is also in HTML somewhere on www.delorie.com. Nate Eldredge eldredge AT ap DOT net