文件名称:3
介绍说明--下载内容均来自于网络,请自行研究使用
函数ReadDat()实现从文件IN.DAT中读取一篇英文文章存入到字符串数组xx中,请编制函数StrOL(),其函数的功能是:以行为单位对行中以空格或标点符号为分隔的所有单词进行倒排。最后把已处理的字符串(应不含标点符号)仍按行重新存入字符串数组xx中,最后调用函数writeDat()把结果xx输出到文件OUT6.DAT中。-Function ReadDat () to read from a file IN.DAT an article in English into the string array xx, requested the establishment of the function StrOL (), its function is the function: to act on the line unit with a space or punctuation symbol for the separation of all the words were inverted. Finally the processed string (should not contain Punctuation) remaining on-line back into a string array xx, the last call to function writeDat () the results to a file OUT6.DAT in xx.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.c