C/C++ 得到键盘按键代码

写推箱子小游戏的时候须要读取键盘ios 写了个快速得到代码的小程序小程序 #include<iostream> #include<conio.h> int main() { int a; while(1) { a=getch(); std::cout<<a<<std::endl; } return 0; }
相关文章
相关标签/搜索