文件名称:wengxueyanjiuzhushou
介绍说明--下载内容均来自于网络,请自行研究使用
1、文本串非空且以文件形式存放,统计匹配的词集非空。文件名和词集均由用户从键盘输入;
2、“单词”定义:由字母构成的字符序列,中间不含空格字符且区分大小写;
3、待统计的“单词”在文本串中不跨行出现,它或者从行首开始,或者前置若干空格字符;
4、在计算机终端输出的结果是:单词,出现的次数,出现的位置所在行的行号,同一行出现两次的只输出一个行号;
5、测试数据:将实验的源程序作为测试文件,从中任意选取“单词”作为测试的词集。
- 1, a text string not empty and with the file form deposit, statistics matching word set not empty. The file name and word set all by users from keyboard input
2, the "words" definition: from letters constitute sequences of characters, and the space character among excluding case-sensitive
Three, to the statistics "words" in the text string not an inter-bank appear, it first started from line or, or lead some space character
4, on a computer terminal of the output result is: the words, in the frequency of, appear in the position of the line number did, with a line of output only twice in a line Numbers
5, test data: will the source program as the test files, to freely choose the "words" as a test of the word set.
2、“单词”定义:由字母构成的字符序列,中间不含空格字符且区分大小写;
3、待统计的“单词”在文本串中不跨行出现,它或者从行首开始,或者前置若干空格字符;
4、在计算机终端输出的结果是:单词,出现的次数,出现的位置所在行的行号,同一行出现两次的只输出一个行号;
5、测试数据:将实验的源程序作为测试文件,从中任意选取“单词”作为测试的词集。
- 1, a text string not empty and with the file form deposit, statistics matching word set not empty. The file name and word set all by users from keyboard input
2, the "words" definition: from letters constitute sequences of characters, and the space character among excluding case-sensitive
Three, to the statistics "words" in the text string not an inter-bank appear, it first started from line or, or lead some space character
4, on a computer terminal of the output result is: the words, in the frequency of, appear in the position of the line number did, with a line of output only twice in a line Numbers
5, test data: will the source program as the test files, to freely choose the "words" as a test of the word set.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文学研究助手.cpp