#include <boost/random/mersenne_twister.hpp> ... int main() { boost::mt19937 rng(time(NULL)); boost::mt19937 rng2(); rng2.seed(time(NULL));
#include <boost/random/uniform_int.hpp> ... boost::uniform_int<> dist(1,1<<30);
#include <boost/random/variate_generator.hpp> ... boost::variate_generator<boost::mt19937&, boost::uniform_int<> > bigDie(rng,dist); cout << bigDie() << endl;
#include <boost/date_time/posix_time/posix_time.hpp>
boost::posix_time::ptime startTime, endTime; startTime = boost::posix_time::microsec_clock::local_time();