用VS2017调试代码的时候遇到如下:
The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _getche. See online help for details
该报错信息为“POSIX命名方式不推荐使用,推荐使用ISO C和C++的函数名
版本跟新导致的,在高版本vs2017不在兼容库函数的接口。
解决方法:添加宏定义
用VS2017调试代码的时候遇到如下:
The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _getche. See online help for details
该报错信息为“POSIX命名方式不推荐使用,推荐使用ISO C和C++的函数名
版本跟新导致的,在高版本vs2017不在兼容库函数的接口。
解决方法:添加宏定义