error C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp.
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