不是stdio,而是stdlib。
The rand routine returns a number between 0 and RAND_MAX, as defined in the stdlib.h header.
rand例程返回一个介于0和stdlib . h中定义的rand _ max之间的数字。
stdlib.h is needed for the atoi() function (ASCII to integer), which converts a string to an integer.
h 是 atoi() 函数(将 ASCII 码转换为整数)所需要的,该函数将字符串转换为整数。
h Not stdio but stdlib.h.
不是stdio,而是stdlib。
应用推荐