zoukankan      html  css  js  c++  java
  • error C4996 The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name

    error C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strupr. See online help for details.
    error C4996: 'strupr': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strupr. See online help for details.
    error C4996: 'sopen': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _sopen. See online help for details.error C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _stricmp. See online help for details.

    用VS2010好好的,在VS2015上编译就报一堆错。

    在头文件尾部添加

    #pragma warning(disable:4996)

    报错消除

  • 相关阅读:
    poj 1850/poj 1496
    poj 1035
    poj 3252
    hdoj 1013
    poj 2965
    poj 1844
    poj 2309
    蓝桥杯比赛回来后计划。。。
    山大实训第二周感想
    hadoop——Map/Reduce中combiner的使用
  • 原文地址:https://www.cnblogs.com/yuzhould/p/6070375.html
Copyright © 2011-2022 走看看