How often should I call srand() in a C++ application?

Viewed 2506

I have a C++ application which calls rand() in various places. Do I need to initialize srand() regularly to ensure that rand() is reasonably random, or is it enough to call it once when the app starts?

4 Answers
Related