As the title suggests, I am trying to figure out a way of generating random numbers using the new C++11
<random> library. I have tried it with this code:
std::default_random_engine generator; std::uniform_real_distribution<double> uniform_distance(1, 10.001);
The problem with the code I have is that every time I compile and run it, it always generates the same numbers. So my question is what other functions in the random library can accomplish this while being truly random?
For my particular use case, I was trying to get a value within the range