Any C++ experts out there?

marcustzy

Junior Member
Jun 5, 2002
16
0
0
Does anyone know if there is a predefined Visual Studio C++ function that I can use to find out if a variable is an integer? Please explain a little (or more if u can) on how I can use that. If there's not one, please tell me how I make such a function. I know it's easy but I just can't figure it out. Thanks a lot!
 

silent tone

Golden Member
Oct 9, 1999
1,571
1
76
First, wrong forum. Check 'software- applications, programming, games'

second, what kind of variable is this? Are you using templates? Arbitrary data has no typing info in c++
 

marcustzy

Junior Member
Jun 5, 2002
16
0
0
Sorry bout that, I am sure u can tell I am a newbie here. Anyways I got it, I use the funtion isdigit(). Thanks~!