On 29-Dec-03 steve-ss wrote:
Could you please advise on the g77 fortran equivalent of the routine call gettim(ihr,imin,isec,ihth) particularly to obtain ihth. Or just anything in 9.0 that will generate a random number. Thanks and happy new year
It depends on what you want the random numbers for.
If you need something "quick and dirty" random for some system purpose,
a simple resource is /dev/random which builds up a "noise bank" based
on keyboard, mouse etc. activity.
Try
cat /dev/random > randombytes
(you may need to halt it with ^C) and have a look at it
with
od -x randombytes | less
and you will see what I mean.
Best wishes,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding)