Location:
Search - FCOPY
Search list
Description: 实现字符串的复制功能,可以进行拓展,从而实现更加强大的功能. -achieve string copy functions, can expand, thereby achieving a more powerful functions.
Platform: |
Size: 5798 |
Author: zhangsan |
Hits:
Description: 实现字符串的复制功能,可以进行拓展,从而实现更加强大的功能. -achieve string copy functions, can expand, thereby achieving a more powerful functions.
Platform: |
Size: 175104 |
Author: zhangsan |
Hits:
Description: 文件复制与删除操作,VB 源程序,带文件目录浏览-File copy and delete operations, VB source, with a file directory browsing
Platform: |
Size: 6144 |
Author: hue |
Hits:
Description: 实现字符串的复制功能,可以进行拓展,从而实现更加强大的功能. -achieve string copy functions, can expand, thereby achieving a more powerful functions.
Platform: |
Size: 6144 |
Author: tocont |
Hits:
Description: 【问题描述】
写一程序将一个文件fcopy.in拷贝至另一个文件fcopy.out, 其中在所拷贝的文件中, 多个连续空白符(包括空格符、制表符)只拷贝一个空格符, 其它字符不变。
【输入形式】
源文件名和目标文件名分别为fcopy.in和fcopy.out,程序将从当前目录下读取fcopy.in文件。
【输出形式】
将fcopy.in文件内容拷贝至当前目录下的fcopy.out文件中。在所拷贝的文件中, 多个连续空白符(包括空格符、制表符)只拷贝一个空格符,若非空白符之间有一个制表符,则该制表符也要替换为空格符,其它字符不变。
【输入样例】
假如文件fcopy.in中内容如下:
Alcatel provides end-to-end solutions.
【输出样例】
输出文件fcopy.out中内容为:
Alcatel provides end-to-end solutions.
【样例说明】
将文件fcopy.in拷贝到fcopy.out,同时做适当的转换。-[Problem Description]
Write a program to copy a file to another file fcopy.in fcopy.out, which in the copied file, multiple consecutive whitespace characters (including spaces, tabs) copy only a space character, other characters unchanged .
[Input form]
Source file name and destination file names are fcopy.in and fcopy.out, the program reads fcopy.in file from the current directory.
[Output] form
The fcopy.in file contents copied to the current directory fcopy.out file. In the copy of the file, multiple consecutive whitespace characters (including spaces, tabs) just copy a space character, if not a whitespace between tabs, the tabs should be replaced with a space character, other characters remain unchanged.
[Sample input]
If the file fcopy.in reads as follows:
Alcatel provides end-to-end solutions.
Sample output]
Output file fcopy.out content is:
Alcatel provides end-to-end solutions.
[Sample Description]
Fcopy.in copy the files to fcopy.out, while doing the appropriate c
Platform: |
Size: 23552 |
Author: 服部半藏 |
Hits:
Description: 实现字符串的复制功能,可以进行拓展,从而实现更加强大的功能. -achieve string copy functions, can expand, thereby achieving a more powerful functions.
Platform: |
Size: 6144 |
Author: resuson |
Hits: