[問題] 如何copy .exe檔用c++

看板Programming作者 (學好英日文)時間17年前 (2008/04/06 13:31), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串1/5 (看更多)
請問要如何用c++ copy 執行檔 .exe到某個目錄 我用過copyfile(xx,xx,b)和fstream的方法 copyfile沒用,而fstream則拷貝完後不能存取 請問有何解 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.66.243.96

04/06 13:37, , 1F
did you use binary mode to read file?
04/06 13:37, 1F

04/09 13:13, , 2F

04/09 13:13, , 3F
上面是使用stl的辦法
04/09 13:13, 3F
文章代碼(AID): #17-60XoB (Programming)
文章代碼(AID): #17-60XoB (Programming)