I\'m taking an intro to C++, and I\'m using VStudio 2013 on Win7. I try to avoid the wrong data input from my menus, and it\'s working in all of them except this one.
If cin has an error the following will clear the error state and then read in the rest of the line.
if(!cin) { cin.clear(); string junk; getline(cin, junk); }