cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How do i make a time limit on my console
How do i make a time limit on my console?
Mar 10, 2010 at 9:31pm UTC
Jonny5770
(2)
When i want the programme finsihed and i want the console to close, instead of the user hitting a key or inputting a character can i give it a time limit? like it executes the last part of the code and then stays open for x seconds and then closes?
Mar 10, 2010 at 9:41pm UTC
Null
(957)
On windows you can use Sleep()
http://msdn.microsoft.com/en-us/library/ms686298(VS.85).aspx
Topic archived. No new replies allowed.