Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fix cin errors
- void Xclass::cleanCin() {
- cout<<"\n\t\t/!\\INVALID INPUT/!\\\n";
- cin.clear();
- cin.get();
- fflush(stdin);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement