遇到这个问题,请打开项目的Properties(属性)------->Configuration Properties(配置属性)------>C/C++ ------>Preprocessor(预处理器)------->Preprocessor Difinitions (预处理器定义) 添加 _CRT_SECURE_NO_WARNINGS 之后点击OK。最后 应用------>确定。
相关文章
- 12-06VS2013编译报错error C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
- 12-06error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s in
- 12-06错误 C4996 'xxx':This function or variable may be unsafe. Consider using xxx_s instead. To d
- 12-06C++ error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_
- 12-06error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation
- 12-06error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead解决方案
- 12-06VS2013提示error C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead.
- 12-06错误 1 error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use . See online help for details.
- 12-06关于 某编译错误: This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
- 12-06关于vs c++中错误error C4996: 'scanf': This function or variable may be unsafe. Consider using s