|
-
April 25th, 2010, 01:37 PM
#1
[RESOLVED] How to have time out for user input?
Hi,
when using std::cin >> x; for getting a variable from user
the program is halted until the user inputs something. but
i want to have a time out (e.g. 10 seconds) which after
that the program continues with a default option.
how cant I get such a functionality?
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|