[Scottish] allowing a large newborn sea-mammal to collide with a rocky plane toid object devoid of atmosphere somewhere in another galaxy

Huard, Elise - D C&W Consultant scottish at mailman.lug.org.uk
Thu Mar 20 11:57:00 2003


wee question (to replace the pin-drop jokes :-) ) :
program in C under Unix.
Is there any way to get the time in tenth or hundredth of seconds ?
Or to phrase it differently : i need a random number generator that won't
give the same sequence of numbers every time that the seed is reinitialised
in the same second (by 2 different users)
srand(time(NULL)) 
and then rand()
doesn't work.
Or a different kind of seed ?  Suggestions are welcome (should be readily
available in your standard Unix system)
Thanks,

Elise
***********************************************************************************
This email and any accompanying files are confidential.      If you are
not  the  intended recipient  you  must not use,  copy or disclose the
content.   If you have received this email in error please contact the 
sender by return email and delete this message. 
Thankyou for your co-operation.
*************************************************************************************