Sorry for asking a question that has bene asked about 293012938901283 times...
1 2 3 4 5 6 7 8 9 10
#include <iostream>
usingnamespace std;
int main(){
// Program goes here
cout << "Press ENTER to exit...";
cin.ignore(); //in case i change something
cin.get();
}
That's what i am using atm... But it accepts letters to and prints them on the screen! Is there any better way or filter for cin.get?