Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static inline char upcaseASCII(char c)
- {
- // If this is _not_ a lower case character simply return
- if (c < 'a' || c > 'z')
- return c;
- // Otherwise substract 32 to make the lower case character an upper case one
- else
- return c - 32;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement