[問題] 關於binary檔資料寫入與讀取(已改網址)
開發平台(Platform): Win10
編譯器: DEVC++
額外使用到的函數庫(Library Used):無
問題(Question):用binary寫入的檔案好像無法儲存或是出現亂碼,請問是
哪個部分出錯
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):http://imgur.com/a/3KjjO
http://imgur.com/a/BJ0ko
程式碼(Code):(請善用置底文網頁, 記得排版)
http://ideone.com/V77r5T
充說明(Supplement):
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.117.198.113
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1497614070.A.EAB.html
噓
06/16 20:12, , 1F
06/16 20:12, 1F
→
06/16 20:32, , 2F
06/16 20:32, 2F
→
06/16 21:34, , 3F
06/16 21:34, 3F
※ 編輯: chubao (140.117.198.113), 06/16/2017 23:01:43
→
06/16 23:04, , 4F
06/16 23:04, 4F
→
06/16 23:28, , 5F
06/16 23:28, 5F
※ 編輯: chubao (140.117.198.113), 06/17/2017 00:24:21
→
06/17 00:25, , 6F
06/17 00:25, 6F
→
06/17 09:21, , 7F
06/17 09:21, 7F
→
06/17 14:02, , 8F
06/17 14:02, 8F
→
06/17 14:26, , 9F
06/17 14:26, 9F