Random number generators discussion

Random number generators | www.agner.org

Repeat sequence of random number
Author:  Date: 2007-08-21 18:57
Dear Agner,
Thank you for making your random number codes available to us. I have a question. I am trying to generate a sequence of random numbers repeatedly in a loop, by using the same seed. But I cannot create same instance multiple times; for example:

for(int i=0;i<10;i++){
seed = 123456789;
StochasticLib1 sto(seed);

does not work. Is there a simple way of doing this?
Thanks again.

thread Repeat sequence of random number - Manojit Roy - 2007-08-21
last reply Repeat sequence of random number new - Agner - 2007-08-28