📄 uc_lc.c
字号:
/*
** Copy the standard input to the standard output, converting
** all uppercase characters to lowercase. Note: This depends
** on the fact that tolower returns its argument unchanged if
** the argument is not an uppercase letter.
*/
#include <stdio.h>
#include <ctype.h>
int
main( void )
{
int ch;
while( (ch = getchar()) != EOF )
putchar( tolower( ch ) );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -