Skip to content

Instantly share code, notes, and snippets.

@RC1140
Created March 17, 2013 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RC1140/5181128 to your computer and use it in GitHub Desktop.
Save RC1140/5181128 to your computer and use it in GitHub Desktop.
char toupper ( char c )
{
if( c >= ’a’ && c <= ’z’ ) {
c = c - ’a’ + ’A’;
}
return( c );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment