The srand() function in C++ seeds the pseudo-random number generator used by the rand() function. It is defined in the cstdlib header file.
確定! 回上一頁