|
-
May 20th, 2001, 12:55 PM
#1
Thread Starter
Frenzied Member
I figured there would be too, and I did look in the MSDN, but didn't find anything. Maybe I didn't look hard enough.
Harry.
"From one thing, know ten thousand things."
-
May 20th, 2001, 01:01 PM
#2
Frenzied Member
Have a look at this
Code:
isdigit, iswdigit
isdigit returns a non-zero value if c is a decimal digit (0 – 9). iswdigit returns a non-zero value if c is a wide character corresponding to a decimal-digit character. Each of these routines returns 0 if c does not satisfy the test condition.
-
May 20th, 2001, 01:02 PM
#3
Frenzied Member
Here are some else if you are ineterested
Code:
isalnum
Alphanumeric (A – Z, a – z, or 0 – 9)
isalpha
Alphabetic (A – Z or a – z)
__isascii
ASCII character (0x00 – 0x7F)
iscntrl
Control character (0x00 – 0x1F or 0x7F)
__iscsym
Letter, underscore, or digit
__iscsymf
Letter or underscore
isdigit
Decimal digit (0 – 9)
isgraph
Printable character except space ( )
islower
Lowercase letter (a – z)
isprint
Printable character including space (0x20 – 0x7E)
ispunct
Punctuation character
isspace
White-space character (0x09 – 0x0D or 0x20)
isupper
Uppercase letter (A – Z)
isxdigit
Hexadecimal digit (A – F, a – f, or 0 – 9)
-
May 20th, 2001, 01:03 PM
#4
Thread Starter
Frenzied Member
Well I get bored easily looking at lists of function names, so I didn't look that hard
Harry.
"From one thing, know ten thousand things."
-
May 20th, 2001, 01:07 PM
#5
Frenzied Member
It is really funny nobody remembered the isdigit function. I searched the isalpha function to get to the isdigit.
-
May 24th, 2001, 02:50 PM
#6
Frenzied Member
isn't there a IsCharAlphaNumeric Api Function?
Yep there is 
http://msdn.microsoft.com/library/ps...rings_4x43.htm
For some reason I tend to do everything with the API rather than C libraries (altough this eliminates the possibility of cross-platform code, it saves in FileSize)
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
May 24th, 2001, 04:11 PM
#7
Monday Morning Lunatic
Look for TINYCRT on MSDN if you want to keep your file sizes down and you use API most of the time.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
May 28th, 2001, 08:38 AM
#8
Frenzied Member
Thanks mike, will take a look at it
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
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
|