how to validate integer and not allow decimal, etc to input as integerThanks for every feedback. The main problem i am facing is deal with decimal input. I got if else st...
problem with validate integer [code] int num; do{ cout << "How many values ?"; cin >> num; cin.clear(); cin.i...
how to validate integer and not allow decimal, etc to input as integer[code]int num; do{ cout << "How many values ?"; cin >> num; cin.clear(); cin.ignore(); ...
This user does not accept Private Messages