























error C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp.
error C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead.
编译时遇到这种错误提示,C/C++的预处理器定义里增加以下两个宏定义就行了
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_DEPRECATE
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。