文件名称:comm
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-11-02
- 文件大小:
- 447kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
文件比较
对两个按字典序排列的有序文件file1和file2的内容进行比较,生成三列输出:仅在file1中出现的行,仅在file2中出现的行,在两个文件中都存在的行,并将输出按字典序排列。
【输入形式】
输入文件为当前目录下的comm.in。
该文件中有两行,每行存有一个文件名。第一行为file1名称,第二行为file2名称。对两个文件的内容进行比较。
每个文件的内容不超过50行,且按字典序排列。
【输出形式】
输出文件为当前目录下的comm.out。
该文件按字典序排列,第一列为仅在file1中出现的行,第二列为仅在file2中出现的行,第三列为两个文件中都存在的行,第一列输出到行首,各列之间用Tab键“\t”分隔。-Document compares the two ordered by lexicographic order files file1 and file2 compare the contents to generate three outputs: Only rows that appear in file1, file2 only rows that appear in both files exist line and output by lexicographic order. [Input type] input file for the current directory comm.in. The file has two lines, each line there a file name. The first act file1 name, the second act file2 name. The contents of the two files to compare. The contents of each file no more than 50 lines, and by lexicographic order. [Output format] output file for the current directory comm.out. The document by lexicographic order, first as only the rows that appear in file1, file2 second column appears only in the row, and the third as both files exist row, first column output to the line First, use the Tab key between the columns " \ t" separated.
对两个按字典序排列的有序文件file1和file2的内容进行比较,生成三列输出:仅在file1中出现的行,仅在file2中出现的行,在两个文件中都存在的行,并将输出按字典序排列。
【输入形式】
输入文件为当前目录下的comm.in。
该文件中有两行,每行存有一个文件名。第一行为file1名称,第二行为file2名称。对两个文件的内容进行比较。
每个文件的内容不超过50行,且按字典序排列。
【输出形式】
输出文件为当前目录下的comm.out。
该文件按字典序排列,第一列为仅在file1中出现的行,第二列为仅在file2中出现的行,第三列为两个文件中都存在的行,第一列输出到行首,各列之间用Tab键“\t”分隔。-Document compares the two ordered by lexicographic order files file1 and file2 compare the contents to generate three outputs: Only rows that appear in file1, file2 only rows that appear in both files exist line and output by lexicographic order. [Input type] input file for the current directory comm.in. The file has two lines, each line there a file name. The first act file1 name, the second act file2 name. The contents of the two files to compare. The contents of each file no more than 50 lines, and by lexicographic order. [Output format] output file for the current directory comm.out. The document by lexicographic order, first as only the rows that appear in file1, file2 second column appears only in the row, and the third as both files exist row, first column output to the line First, use the Tab key between the columns " \ t" separated.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
comm\comm\comm.c
....\....\comm.in
....\....\comm.out
....\....\comm.vcxproj
....\....\comm.vcxproj.filters
....\....\comm_1.in
....\....\comm_2.in
....\....\Debug\CL.read.1.tlog
....\....\.....\CL.write.1.tlog
....\....\.....\comm.lastbuildstate
....\....\.....\comm.log
....\....\.....\comm.obj
....\....\.....\link-cvtres.read.1.tlog
....\....\.....\link-cvtres.write.1.tlog
....\....\.....\link-rc.read.1.tlog
....\....\.....\link-rc.write.1.tlog
....\....\.....\link.6020-cvtres.read.1.tlog
....\....\.....\link.6020-cvtres.write.1.tlog
....\....\.....\link.6020-rc.read.1.tlog
....\....\.....\link.6020-rc.write.1.tlog
....\....\.....\link.6020.read.1.tlog
....\....\.....\link.6020.write.1.tlog
....\....\.....\link.read.1.tlog
....\....\.....\link.write.1.tlog
....\....\.....\vc110.idb
....\....\.....\vc110.pdb
....\comm.sdf
....\comm.sln
....\comm.v11.suo
....\Debug\comm.exe
....\.....\comm.ilk
....\.....\comm.pdb
....\comm\Debug
....\comm
....\Debug
comm