关于错误 1 error C4996: 'getch': The POSIX name for this item is deprecated.问题解决方式

_CRT_SECURE_NO_DEPRECATE 
_CRT_NONSTDC_NO_DEPRECATE

getchar;
改成_getchar();

猜你喜欢

转载自blog.csdn.net/god953/article/details/104831818