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 to make the console wait until a key
How to make the console wait until a key is pressed to continue?
May 14, 2011 at 6:49pm UTC
AndrewGary
(12)
I have to make my program display a bunch of data and at the end of the data report I want to display a message that says "Press any key to continue."
How would I make the console pause until a key is pressed?
Thanks
Andrew
May 14, 2011 at 6:52pm UTC
Moschops
(7244)
http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.17
Which OS and which compiler are you using?
Last edited on
May 14, 2011 at 6:52pm UTC
May 14, 2011 at 7:28pm UTC
AndrewGary
(12)
Windows 7 and Visual C++ 2008 Express.
Topic archived. No new replies allowed.