0
Input
How can I set aside time for input? Like the user just for 5 seconds can write an input?? And after that input will be inactive.
2 Answers
+ 1
you can use external libraries or platform-specific functions to achieve this. For example, on Unix-like systems, you can use the select() function to wait for input with a timeout.
0
use libraries to make your Life easier