How to make the console wait until a key is pressed to continue?

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
http://www.parashift.com/c++-faq-lite/input-output.html#faq-15.17

Which OS and which compiler are you using?
Last edited on
Windows 7 and Visual C++ 2008 Express.
Topic archived. No new replies allowed.