打印输入中单词长度的直方图

这是《C程序设计语言》中的一题,是书中1-13题:c++ #include <stdio.h> #define MAXHIST 15 //直方图的最大长度 #define MAXWORD 12 //输入单词的最大长度 #define IN 1 #define OUT 0 int main() { int c, i, nc, len, state; int wl[MAXWO
相关文章
相关标签/搜索