
13 Jan
2009
13 Jan
'09
1:21 a.m.
Hi All,
I am using boost::random for generating random numbers I am using the
default quick start code given up on the web page. I want to generate random
numbers between range 1 - n so that they do not repeat themselves for at
least n numbers.
1. Is it possible using boost::random?
2. If it is possible what do I need to do except the below code.
==
boost::mt19937 rng1;
boost::uniform_int<> six1(1,30);
boost::variate_generator