Okay, I made two different engines with two different seeds. But when I try to use an number created from random_device, it compiles fine, but when I start the program, it closes immediately.
Here's some code:
random_device seedDevice;
uniform_int_distribution<int> seedDist(0, 1000000);
default_random_engine engine(seedDist(seedDevice));
uniform_int_distribution<int> distribution(1,255);
auto random = bind ( distribution, engine );
default_random_engine engine2(seedDist(seedDevice));
auto random2 = bind (distribution, engine2);