previous | start | next

## Simulations

- When you specify a new seed for the for the random number sequence, the generator generates a new (different) sequence.
- The seed is set with the `srand` function.
- By setting the seed based on the time, the random numbers will be different every time you run the program.

  >     Time now;
  >     int seed = now.seconds_from(Time(0,0,0));
  >     srand(seed);

previous | start | next