I wanted just to implement this algorithm by C on Ubuntu:
wait for a certain time to receive input from keyboard, so, by getting possible input or by over time, the program should be continued.
I dont have any clue to do that! Thank you in advanced.