
21 Apr
2010
21 Apr
'10
11:46 a.m.
-----Original Message----- On 21 April 2010 13:47, Marius <letto2@gmail.com> wrote:
May I suggest that boost should have a cross-platform function to so
this.
time(NULL) is not random.
It does, in the form of random_device, though for some reason it seems the Windows implementation still hasn't happened.
For Windows, I think the GetTickCount Windows API function should be sufficient for a random seed. -- Bill --