作者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)