admin管理员组

文章数量:1602669

运行C程序时报错:

错误 C4996 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.

原代码:

scanf(" %c", &c);


scanf换成scanf_s后调试程序

scanf_s(" %c", &</

本文标签: functionscanfvariablescanfsunsafe