摘要: 1、fflush(stdin) 在程序17行如果插入代码,依然输入1235r,则输出为 haha cccccc 此种方法对vc可以,但对xcode和linux不适用 2、while+getchar while (ch=getchar() != '\n' && ch != 'EOF'),直到读取到缓冲 阅读全文
posted @ 2017-12-11 20:14 猪突猛进!!! 阅读(158) 评论(0) 推荐(0)