Re: [問題] binary檔寫檔錯誤
問題解決了
bug不在寫檔的地方上
後來我改成用sequential檔去存一樣會出現寫不進去的錯誤
最後使用蠻幹方式做了許多測試後終於找到bug了
是改寫程式時,一個動態矩陣配置的地方忘記修改宣告大小
而那個矩陣會在寫檔的迴圈裡面默默記錄東西
修正後就一切正常了
可是搞不懂為啥一開始不說是矩陣維度錯誤而要說寫檔有問題
早點知道的話一下就可以修好了ˍ| ̄|●
--
Deserves death! I daresay he does. Many that live deserve death. And some die
that deserve life. Can you give that to them? Then be not too eager to deal out
death in the name of justice, fearing for your own safty. Even the wise cannot
see all ends.
Gandalf to Frodo
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.120.25.235
→
03/11 10:10, , 1F
03/11 10:10, 1F
→
03/11 11:32, , 2F
03/11 11:32, 2F
→
03/11 20:35, , 3F
03/11 20:35, 3F
→
03/11 22:35, , 4F
03/11 22:35, 4F
→
03/11 22:36, , 5F
03/11 22:36, 5F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
1
4
Fortran 近期熱門文章
PTT數位生活區 即時熱門文章