文件名称:wenbenbianji1
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 44.93kb
- 下载次数:
- 1次
- 提 供 者:
- 孙**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
题目:文本编辑
一、需求分析
1、任务:输入一页文字,程序可以统计出文字、数字、空格的个数。
静态存储一页文章,每行最多不超过80个字符,共N行;
2、要求:
(1)分别统计出其中英文字母数和空格数及整篇文章总字数;
(2)统计某一字符串在文章中出现的次数,并输出该次数;
(3)删除某一子串,并将后面的字符前移。
存储结构使用线性表,分别用几个子函数实现相应的功能;
3、输入数据的形式和范围:可以输入大写、小写的英文字母、任何数字及标点符号。
输出形式:
(1) 分行输出用户输入的各行字符;
(2) 分4行输出\"全部字母数\"、\"数字个数\"、\"空格个数\"、\"文章总字数\";
(3) 输出删除某一字符串后的文章;
-topics : a text editor, a demand analysis, the task : the importation of a language that the procedure can be written out statistics, figures, the number of spaces. A static storage article, every trip up to more than 80 characters, a total of N; 2, requirements : (1) were the statistics on the English alphabet and the number of spaces and the number of the total number of words in the entire article; (2) a string statistics in the article, the frequency and the output frequency; (3) delete certain substrings. the characters will be behind advancing. The use of linear storage structure forms, few realize Functions corresponding function; 3, input data in the form and scope : the importation of capital and lowercase English letters, numbers and punctuation any. Output forms : (a) the output
一、需求分析
1、任务:输入一页文字,程序可以统计出文字、数字、空格的个数。
静态存储一页文章,每行最多不超过80个字符,共N行;
2、要求:
(1)分别统计出其中英文字母数和空格数及整篇文章总字数;
(2)统计某一字符串在文章中出现的次数,并输出该次数;
(3)删除某一子串,并将后面的字符前移。
存储结构使用线性表,分别用几个子函数实现相应的功能;
3、输入数据的形式和范围:可以输入大写、小写的英文字母、任何数字及标点符号。
输出形式:
(1) 分行输出用户输入的各行字符;
(2) 分4行输出\"全部字母数\"、\"数字个数\"、\"空格个数\"、\"文章总字数\";
(3) 输出删除某一字符串后的文章;
-topics : a text editor, a demand analysis, the task : the importation of a language that the procedure can be written out statistics, figures, the number of spaces. A static storage article, every trip up to more than 80 characters, a total of N; 2, requirements : (1) were the statistics on the English alphabet and the number of spaces and the number of the total number of words in the entire article; (2) a string statistics in the article, the frequency and the output frequency; (3) delete certain substrings. the characters will be behind advancing. The use of linear storage structure forms, few realize Functions corresponding function; 3, input data in the form and scope : the importation of capital and lowercase English letters, numbers and punctuation any. Output forms : (a) the output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 51622454wenbenbianji1.rar 列表 edit\edit.ncb edit\edit.dsw edit\测试数据.txt edit\Debug edit\edit\edit.plg edit\edit\edit.opt edit\edit\edit.dsw edit\edit\edit.ncb edit\edit\Page.h edit\edit\edit.dsp edit\edit\Line.h edit\edit\Debug edit\edit\DataStruct.h edit\edit\edit.cpp edit\edit\Lines.h edit\edit\edit.h edit\edit edit\edit.opt edit\课程设计报告.doc edit