kbhit不是不清除缓冲区字符吗while(1)while (!kbhit()){ch = getch();printf("Hello");}键入一个字符后不是也应该一直输出吗,怎么在getch那停止了?
https://zhidao.baidu.com/question/437321862.html