文件名称:2
介绍说明--下载内容来自于网络,使用问题请自行百度
函数ReadDat( )实现从文件IN.DAT中读取一篇英文文章存入到字符串数组xx中;请编制函数StrOR( ),其函数的功能是:以行为单位依次把字符串中所有小写字母o左边的字符串内容移到该串的右边存放,然后把小写字母o删除,余下的字符串内容移到已处理字符串的左边存放,之后把已处理的字符串仍按行重新存入字符串数组xx中。最后main()函数调用函数WriteDat()把结果xx输出到文件OUT5.DAT中。-Function ReadDat () implementation from the file IN.DAT read an article in English in the deposit to the string array xx Prepare function StrOR (), its function is the function: to act in turn to a string of all units in lowercase letters o the left of the string to move the contents of the right of the string storage, and then lowercase o remove the remaining contents of the string the string to move the left processed stored, and then the line has been re-processed into character strings based upon the xx in the string array. Finally main () function call function WriteDat () output the results to a file OUT5.DAT in xx.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.