hi

i have a program where the user inputs an int. i wanna check if the int is valid, ie, no other characters besides numbers. i'm trying to get one character at a time from the int and check if 'isdigit()', but i'm not sure how to do this right or if there are alternatives...

any help is appreciated.
thank you
--770