i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here...
very simple... if i declare
cin >> Z;
if I enter integer, it works fine but i enter character it's looping. :sad:
how to prevent it from looping when character was entered?