异常报错显示 error 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. 解决方案 网上有很多方法,但我最
异常报错显示
error 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.
解决方案
网上有很多方法,但我最推荐的还是这个,可以完美解决~
- 定义预定义符号方法