Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool isdigit( char x )
- {
- int y = x - '0';
- if ( y >= 0 && y <= 9 ) return true;
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement