Quote:
Originally posted by Thraner
Hey guys, I am new to C++, and for a project I am working on, I need to check a value entered by a user to see if it is a valid number. I know this would be easy as pie in VB by using the function "IsNumeric()", but I can't figure out how to do something like this in C++. Any suggestions?
Thanks in advance!!
could you make your question more spicifi provideing the details on how the input will happen? are you going to write your own funcion? are you using cin. are you using a char array or numerical datatypes?