can someone either just tell me or point me to an explanation of how to check a string to see if it contains only integers? No doubles, no floats, no negative ints, just plain old positive ints.....I don't need to cast it to an int, unless there is an easy way to do that. I can't seem to find anything useful.
Negative integers are also plain old ints, them being only positive means its an unsigned int.
But you could loop through every element inside the string and check if that individual char is a number. If you run into any non-numbers you can safely say it does not contain only ints.