What does seed do in the srand function?

What does seed do in the srand function?
http://en.wikipedia.org/wiki/Random_seed

If you use the same seed, you will get the same sequence of pseudo-random numbers. The goal is not to use the same seed, which is why it is often seeded based on when the program started running.
For every different seed value used in a call to srand, the pseudo-random number generator can be expected to generate a different succession of results in the subsequent calls to rand.

http://www.cplusplus.com/reference/cstdlib/srand/
Thanks guys!
Topic archived. No new replies allowed.