是统计单词个数还是统计字母的个数? 没用过,不过你可以尝试一下统计word=1; num++; printf("there are%d words in this line:\\n",num),tZcvxr
writeln(length(st));试试吧