zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    GARP和GVRP
    VLAN间路由
    Voice VLAN
    VLAN
    SSH
    Telnet
    FTP
    DHCP
    STP
    交换机
  • 原文地址:https://www.cnblogs.com/cner/p/13826284.html
Copyright © 2011-2022 走看看