Is there a way to make getch() wait until a key is pressed?

后端 未结 0 2016
忘掉有多难
忘掉有多难 2020-12-18 01:03

I\'m currently working on a project using ncursor to handle animation and user input. The thing is that I want getchar() to only ask for user input when the keyboard is actu

相关标签:
回答
  • 消灭零回复
提交回复
热议问题