0

This is under the assumption that if I make a new random number generator and feed it a seed it will always repeat the same pattern at run time for example lets say my random number generator outputs the following, one digit at a time:

123456789

Is there a way to save the state of the random number generator? So that I could run the program and have it return:

12345

Then save the state; end the program; fire it back up and it will then return:

6789

Apologizes if Stack Overflow isn't the place for this vague concept.

UpTide
  • 307
  • 3
  • 13

0 Answers0