$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Random] Good Truly-Random Seed
From: Bill Buklis (boostuser_at_[hidden])
Date: 2010-04-21 13:46:32
> -----Original Message-----
> On 21 April 2010 13:47, Marius <letto2_at_[hidden]> 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 --