
CodePudding user response:
Srand ((unsigned int) time (NULL));CodePudding user response:
Srand ((unsigned int) time (NULL));The little group of parentheses;
(unsigned int) timer (NULL) in the srand function parameters
CodePudding user response:
srand ((unsigned int) time (NULL));
Less a bracket, can say (unsigned int) time (NULL) is cast time (NULL) as an unsigned integer amount
