...
This recommendation appears in the C++ Secure Coding Standard as MSC19CPP. Use srand() before rand() to generate different sequences of pseudorandom numbers MSC32-CPP. Ensure your random number generator is properly seeded.
References
C++Reference