to_upper.c
来自「NIST Handwriting OCR Testbed」· C语言 代码 · 共 16 行
C
16 行
/*# proc: to_upper - takes the integer value of an ASCII character, and if the# proc: character is lowercase, converts it to uppercase.*/#include <stdio.h>/*************************************************************/to_upper(c)int c;{ if((c >= 'a') && (c <= 'z')) c -= 0x20; return(c);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?