I'm writing a small program in which a user is to input different data about themselves and then a funny quote pops up. My problem is that, for some question I want the person to enter a number and at other times words. My program works fine except when a person enters a string when I am expecting a number like an int. Is there some way that I can check the type of data that was inputted by the user before the computer tries to store the data in the int pointer.