If I want to pause the program until the user hits the ENTER key, what is the best version of cin to use. Also, I'd like to have the input queue cleared afterwards.


Sorry for the simple question, but I've packed away all my C++ books and I'm a bit rusty