运行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", &</