Originally Posted by
tabstop
cin.get works exactly as it's supposed to. The problem is that what it is supposed to do is not "make the program stop and wait for the user to press any key". In fact, there's not really any standard C++ function that does that, since C++ doesn't really expect there to be a keyboard on the other end.
get will wait for a line of input to be entered. Since there already is a line of input there, from you asking the question earlier (but only reading in a single character instead of the whole thing) there's no reason to wait.