解决’strcpy’: This function or variable may be unsafe. Consider using strcpy_s instead. To disable dep
运行程序时语法正常,但是显示出
’strcpy’: This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
这个问题的解决方法是,在属性菜单里添加如图的预处理定义即可。