¡@

Home 

c++ Programming Glossary: myrand

Issues with seeding a pseudo-random number generator more than once?

http://stackoverflow.com/questions/976993/issues-with-seeding-a-pseudo-random-number-generator-more-than-once

the following example still be an acceptable solution MyRand.h #ifndef MY_RAND_H #define MY_RAND_H class MyRand public MyRand.. MyRand.h #ifndef MY_RAND_H #define MY_RAND_H class MyRand public MyRand int get_rand const private static unsigned int.. #ifndef MY_RAND_H #define MY_RAND_H class MyRand public MyRand int get_rand const private static unsigned int seed_base #endif..