I have a Win32 program that runs on a loop. I would like to be able to pause that program while awaiting a keypress. It doesn\'t matter whether I use \'any key\' or a specif
You should use neither.
You should use
#include ... int main() { ... std::cin.ignore(); //why read something if you need to ignore it? :) }'
Here's the documentation