1 2 3 4 5 6
if(me.fail()){ std::cett<<"bad data, try again"; me.clear(); me.ignore(256,'\n'); continue; }