C++

hey everyone,

I know this isnt anything to do with falsh or actionscript but I know u guys are great at everything!!!:slight_smile:

neways ive got a c++ program that im writing, its a simple calculator, the way it runs is by the user entering a number then another number, then the operand…
what i need to know is how to carry out a check on the two integers so that only a number can be input, if anything else is then the program returns to the “insert first integer” code

ive declared the two values as FLOATS

any ideas?
cheers