C4996 ‘getch‘: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant
C4996 ‘getch’: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _getch. See online help for details.我在写c实战是用到’getch‘发现出现了错误,上网查找资料发现,这个是因为vs版本问题,这个问题在VS2012之前是不会当成错误的,目前这个问题有几种个解决方法:1.添加预处理(当数量多时就感觉很麻烦了)项目->
原创
2021-05-19 17:43:38 ·
2492 阅读 ·
0 评论