摘要: 一 分析 使用函数getc(stdin)可以从键盘获得用户输入二 实现1 简单的输入回显代码#include <stdio.h>#include <stdlib.h>int main(){ char input; while(1) { printf("Enter:"); input = getc(stdin); printf("You enter:%c\n",input); }}理想输出:Enter:aYou enter:a实际输出1Enter:1You enter:1Enter:You enter:实际输出2Enter:as.. 阅读全文
posted @ 2013-05-10 14:53 布兰姥爷 阅读(6083) 评论(1) 推荐(0) 编辑