摘要: 近来无事,随手翻翻书吧。。。。。#include<stdio.h>#define OUT 1#define IN 0main(){ int c, nl, nc, nw, state; nl = nc = nw = 0; state = OUT; while ((c = getchar()) != EOF) { nc ++; if (c == '\n') { nl ++; } if (c == ' ' || c == '\t' || c == '\n') { stat... 阅读全文
posted @ 2012-10-28 18:33 stallman 阅读(268) 评论(0) 推荐(0)