problems using Random_Device

This is a discussion on problems using Random_Device within the C++ Programming forums, part of the General Programming Boards category; Hello,
My question is if Random_Device works on windows . If so, what am I doing wrong in this implementation?
...

@darkInuyasha: do not attempt to default-construct random_device on a windows machine. It will probably try to open dev/random. More importantly windows does not have a similar hardware source of randomness by default, so god knows what a working implementation uses. Default constructing a marsenne twister should work fine, as would seeding the prng from basically any other source. For your edification: