Is there a function in the STL that will chekc to see if a variable is a number? I tried isalpha() and isdigit() but they dont work like i thought they would.
This is a discussion on Function Question within the C++ Programming forums, part of the General Programming Boards category; Is there a function in the STL that will chekc to see if a variable is a number? I tried ...
Is there a function in the STL that will chekc to see if a variable is a number? I tried isalpha() and isdigit() but they dont work like i thought they would.
How did you think they would work? What kind of implementation do you need? Can you post some code?
Do a search on http://msdn.microsoft.com for isalpha() or isdigit()
That should give you all the info you need.