📄 listchars.c
字号:
/* listchars.c * purpose: list individually all the chars seen on input * output: char and ascii code, one pair per line * input: stdin, until the letter Q * notes: usesful to show that buffering/editing exists */#include <stdio.h>main(){ int c, n = 0; while( ( c = getchar()) != 'Q' ) printf("char %3d is %c code %d\n", n++, c, c );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -