所属分类:
编辑器/阅读器
开发工具:Visual C++
文件大小:1KB
下载次数:16
上传日期:2008-06-30 17:08:10
说明: 功能:输入一页文字,程序可以统计出文字、数字、空格的个数。静态存储一页文章,每行最多不超过80个字符,共N行;
要求:(1)分别统计出其中英文字母数和空格数及整篇文章总字数;(2)统计某一字符串在文章中出现的次数,并输出该次数;(3)删除某一子串,并将后面的字符前移。(4)存储结构使用线性表,分别用几个子函数实现相应的功能;
(Function: Enter the page text, the text can be statistics, numbers, the number of spaces. Static storage page article, one per line up to more than 80 characters, a total of N lines requirements: (1) statistics, respectively, which a few letters of the alphabet and the space number and the total number of words in the whole of your article (2) statistics of a string article appeared in the frequency and the output of the frequency (3) delete a substring, and behind the characters forward. (4) storage structure using a linear form, respectively, with a few Functions realize the corresponding function )
文件列表:
wenzhangbianji2.txt