vs2019不使用安全函数
在 vs2019 上我们使用scanf()函数的时候会报错提醒使用更加安全的scanf_s()函数。
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.
虽然我们是应该使用更加安全的scanf_s()函数,但是
原创
2020-07-11 08:55:28 ·
1112 阅读 ·
0 评论