As the title suggests, I am trying to figure out a way of generating random numbers using the new C++11
library. I have tried it with this code:<
Here is some resource you can read about pseudo-random number generator.
https://en.wikipedia.org/wiki/Pseudorandom_number_generator
Basically, random numbers in computer need a seed (this number can be the current system time).
Replace
std::default_random_engine generator;
By
std::default_random_engine generator();