作者acosy (acosy)
看板Visual_Basic
标题[VB6 ] duplicate binary file
时间Fri Aug 5 12:05:31 2005
一个简单的二进位档复制..
------
open "c:\xxx.1" for binary access read as #1
open "c:\xxx.2" for binary access write as #2
do until eof(1)
get #1, ,a
put #2, ,a
loop
close #1
close #2
--------
结果 xxx.2 总会比 xxx.1 多出 1 bytes, why??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.60.197.145
※ 编辑: acosy 来自: 61.60.197.145 (08/05 12:06)