I am new to C++ and have problem that isn't adequately addressed in books and online. Say have have a program doing salaries. In this program all inputs should be numeric. If they aren't the program won't execute properly and you will never know it. Using the cin.clear and the cin.ignore functions one would detect "input garbage" (non-numeric inputs) and ask for correct inputs. Exactly how?