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.

28th Sep 2023, 1:28 PM
Fateme Biglari
Fateme Biglari - avatar
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.
28th Sep 2023, 1:40 PM
Abishek Neupane
Abishek Neupane - avatar
0
use libraries to make your Life easier
28th Sep 2023, 1:34 PM
D1M3
D1M3 - avatar