how to timer in c++

Dear frineds:
I want to perform a function which will return a value if no input after 5 seconds.
Which function should i use in C++
Regards
What function do you want to make?
OP: Check out kbhit()
Topic archived. No new replies allowed.