Hello,
i want to know how to write a function in c which is similar to getch() but i can write the wait time.
i.e it doesn't wait till the carriage return like getch() but proceeds with further execution of the program if no input is received for x no of ms.
m a beginner and trying to designing a simple snake game in C
Thanks a lot!!
Sourabh G
India
funky_sourabh 0 Newbie Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.