|
-
Feb 5th, 2003, 06:50 PM
#1
Thread Starter
Addicted Member
c integer checking
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|