Hi Windows and BeOS types,
I need to initialize the random number generator using srand so
that we get different string of random numbers every time we invoke abi. I
want to do this to make sure the List identification number is always
unique.
In Unix I can do
srand( (UT_uint32) time())
Which works great. time() returns the number seconds since 1970. Is there
a similar function in windows? I just need a function that is guarenteed
to give a different result on every call. Since time always increases this
will always work :-)
I knew I'd be able to work in a Physics use somewhere :-)
Cheers
Martin