文件名称:wenjian
-
所属分类:
- 标签属性:
- 上传时间:2013-12-07
-
文件大小:23.4kb
-
已下载:6次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
【问题描述】
写一程序将一个文件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/
文件拷贝/Debug/copy.pch
文件拷贝/Debug/vc60.idb
文件拷贝/Debug/vc60.pdb
文件拷贝/copy.c
文件拷贝/copy.dsp
文件拷贝/copy.dsw
文件拷贝/copy.ncb
文件拷贝/copy.opt
文件拷贝/copy.plg
文件拷贝/文件拷贝.dsp
文件拷贝/文件拷贝.dsw
文件拷贝/文件拷贝.ncb
文件拷贝/文件拷贝.opt
文件拷贝/Debug/
文件拷贝/Debug/copy.pch
文件拷贝/Debug/vc60.idb
文件拷贝/Debug/vc60.pdb
文件拷贝/copy.c
文件拷贝/copy.dsp
文件拷贝/copy.dsw
文件拷贝/copy.ncb
文件拷贝/copy.opt
文件拷贝/copy.plg
文件拷贝/文件拷贝.dsp
文件拷贝/文件拷贝.dsw
文件拷贝/文件拷贝.ncb
文件拷贝/文件拷贝.opt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.