1.加#define _CRT_SECURE_NO_WARNINGS //必须写在程序的首句
2.加#pragma warning(disable:4996) //可以写到任意位置
3.将scanf改为scanf_s
标签:首句,CRT,NO,scanf,WARNINGS,安全,解决,SECURE From: https://www.cnblogs.com/shugexia-blogs/p/16768128.html
1.加#define _CRT_SECURE_NO_WARNINGS //必须写在程序的首句
2.加#pragma warning(disable:4996) //可以写到任意位置
3.将scanf改为scanf_s
标签:首句,CRT,NO,scanf,WARNINGS,安全,解决,SECURE From: https://www.cnblogs.com/shugexia-blogs/p/16768128.html