I tried using sys/time.h but it says the file is not found and I usually don't program on Unix at all but it is required for a class and I have no idea what to do.
I also need to make the timer start when the user presses a key.
I tried using sys/time.h but it says the file is not found and I usually don't program on Unix at all but it is required for a class and I have no idea what to do.
I also need to make the timer start when the user presses a key.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
At the link is a simple timer example.