The program can then call _getch or _getche to get the keystroke. So, in your loop: while (true) { // ... if (_kbhit()) { char c = _getch(); ...
確定! 回上一頁