与printf函数相同,C语言也允许在使用scanf函数之前不必包含stdio.h文件。scanf函数的一般形式为: ... 如果string,可以scanf_s("%s",str,len) scanf_s("%c", &temp, ...
確定! 回上一頁