Hi
I was trying to use the new c++ random classes but for some reason the output of the program is always the same. I tried to put Sleep() in there to make difference but the output remains the same.
Additionally I would not suggest to use default_random_engine : it is usually implements a bad RNG. Use std::mt19937 for pretty good mersenne twister generator.
I create a temporary object of type std::random_device by using uniform initialization: std::random_device{}. Then I call operator() on that temporary object: std::random_device{}()