Break loop after x time if waiting too much

前端 未结 0 1851
青春惊慌失措
青春惊慌失措 2021-01-12 01:04

I am using C, in code blocks for reference. My code is as follows:

while(1)
{   
   char ch;   
   ch = _getch();  
   MyFunction1(         


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