Why does getchar() only return (char)13 after another key has been pressed? (windows)

前端 未结 0 883
清酒与你
清酒与你 2021-01-07 08:01

I was playing around with the Windows Console API and found some interesting behaviour. Using this function:

void defCon         


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