文件名称:wenjian
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-12-07
- 文件大小:
- 23kb
- 下载次数:
- 0次
- 提 供 者:
- 服***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
【问题描述】
写一程序将一个文件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 Descr iption]
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 Descr iption]
Fcopy.in copy the files to fcopy.out, while doing the appropriate c
写一程序将一个文件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 Descr iption]
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 Descr iption]
Fcopy.in copy the files to fcopy.out, while doing the appropriate c
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件拷贝
........\Debug
........\.....\copy.pch
........\.....\vc60.idb
........\.....\vc60.pdb
........\copy.c
........\copy.dsp
........\copy.dsw
........\copy.ncb
........\copy.opt
........\copy.plg
........\文件拷贝.dsp
........\文件拷贝.dsw
........\文件拷贝.ncb
........\文件拷贝.opt