Mail Archives: djgpp/1998/03/28/17:02:49
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
- Raw text -