文件名称:filecopy
- 所属分类:
- 文件操作
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2013-06-03
- 文件大小:
- 398kb
- 下载次数:
- 0次
- 提 供 者:
- 罗**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该程序,通过以单个字符的形式逐个输入到文件1,然后把文件1的类容复制到文件2中,复
制时有些重要的细节需要注意:再往文件1输入时,最后一定也要输入一个换行符 \n ,复制时
也是如此;原因:复制时是以换行符结尾的,如果无换行符,那么会一直处于复制状态。当
然默认的是回车+换行符(ENTER+\n),
此时应以c==EOF为结束条件,而不是c== \n 。-The program, through the form of a single character input to file one by one, and then copy the contents of the file into a class file 2, copying some important details to note: Beyond an input file, the last must also enter a newline character ' \ n' , replication is also true Cause: When copying a newline at the end, if no line breaks, so will always be in the replication status. Of course, the default is a carriage return+ newline (ENTER+ \ n), this time should be an end to c == EOF condition, rather than c == ' \ n' .
制时有些重要的细节需要注意:再往文件1输入时,最后一定也要输入一个换行符 \n ,复制时
也是如此;原因:复制时是以换行符结尾的,如果无换行符,那么会一直处于复制状态。当
然默认的是回车+换行符(ENTER+\n),
此时应以c==EOF为结束条件,而不是c== \n 。-The program, through the form of a single character input to file one by one, and then copy the contents of the file into a class file 2, copying some important details to note: Beyond an input file, the last must also enter a newline character ' \ n' , replication is also true Cause: When copying a newline at the end, if no line breaks, so will always be in the replication status. Of course, the default is a carriage return+ newline (ENTER+ \ n), this time should be an end to c == EOF condition, rather than c == ' \ n' .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件内容复制
............\Debug
............\.....\f2
............\.....\filecopy.exe
............\.....\filecopy.ilk
............\.....\filecopy.obj
............\.....\filecopy.pch
............\.....\filecopy.pdb
............\.....\vc60.idb
............\.....\vc60.pdb
............\.....\文件内容复制.exe
............\.....\文件内容复制.ilk
............\.....\文件内容复制.obj
............\.....\文件内容复制.pch
............\.....\文件内容复制.pdb
............\f1.txt
............\f2.txt
............\filecopy.cpp
............\filecopy.dsp
............\filecopy.dsw
............\filecopy.ncb
............\filecopy.opt
............\filecopy.plg
............\文件内容复制.cpp