How do I get random #s?

Aryeh Friedman tsource at dhw68k.cts.com
Thu Feb 16 14:25:53 AEST 1989


In article <1989Feb14.154157.15148 at utzoo.uucp> henry at utzoo.uucp (Henry Spencer) writes:
>Please read manual before flaming about it.  The V7 rand() allowed a
>seed to be specified, as (I think) did earlier ones. 

I am using Berkeley UNIX and I can seed using srand.  BTW All I ever wanted to  was use it for a game.
-- 
Aryeh Friedman (aka The source)
tsource at dhw68k.cts.COM or tsource at dhw68k.UUCP



More information about the Comp.lang.c mailing list