randomness

kla at physc1.byu.edu kla at physc1.byu.edu
Tue Apr 10 20:46:42 AEST 1990


One easy way to get a different sequence each time the program is run
is to set the seed to the clock. Different C compilers have different
ways of setting the seed so you will have to consult your documentation.



More information about the Comp.lang.c mailing list