Frantisek Fuka
4/29/2006 2:04:00 PM
It seems to me that rand and srand can only use the single "global"
psudorandom generator. Is there a possibility to have several random
sequences based on different seeds, all available at the same time?
I could probably write this myself but I don't want to reinvent the
wheel.
I don't need the generator to be "cryptographically secure" or have
extremely long periods (I'll rarely use random sequences longer than
100 numbers from any single generator) but I need to have several
generators available at the same time and possibility to "reset" their
sequences individually.