摘要: 1 #include 2 #define WrdIn 1 3 #define WrdOut 0 4 main() 5 { 6 int c,nl,nw,nc,state; 7 state=WrdOut; 8 nl=nw=nc=0; 9 while ( (c=getchar()) !=EOF)10 {11 ++nc;12 if(c=='\n')13 ++nl;14 if(c==' ' || c=='\n' || c== '\t')15 state = WrdOu... 阅读全文
posted @ 2014-01-04 00:52 ASMLearner 阅读(186) 评论(0) 推荐(0) 编辑