How do I make my program pause until any key is pressed. My best is cin >> char, but that doesn't work for the enter key. I think it would if I could get it to input whitespace. Is there another way?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.