⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listchars.c

📁 unix linux 编程实践源代码
💻 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 + -