Re: [問題] file not found

看板Fortran作者 (kenshui)時間11年前 (2013/08/20 15:28), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串2/2 (看更多)
※ 引述《kenshui (kenshui)》之銘言: : 請問大家, : 我的程式碼下去執行了之後,出現了以下的錯誤: : forrt1: severe <29>:file not found, unit 1,file D:\FORTRAN_OUTPUT\GOLD\Au_diff : _8.dat : Image PC Routine Line Source : Au_best<new>.exe 0041AF89 Unknown Unknown Unknown : Au_best<new>.exe 0041AD17 Unknown Unknown Unknown : Au_best<new>.exe 00419FC4 Unknown Unknown Unknown : Au_best<new>.exe 0041A3F9 Unknown Unknown Unknown : Au_best<new>.exe 004131E4 Unknown Unknown Unknown : Au_best<new>.exe 00401698 Unknown Unknown Unknown : Au_best<new>.exe 00455AB9 Unknown Unknown Unknown : Au_best<new>.exe 0043AEF9 Unknown Unknown Unknown : kernel32.dll 7C81776F Unknown Unknown Unknown : Incrementally linked image -- PC correlation disabled. : Press any key to continue : 程式碼有Check過,找不出問題所在。 : 想請大家可否指引當顯示這樣的畫面,問題應該是出在何處? : 非常謝謝:) 謝謝大家。我已經找到一開始問題在哪邊了,但是程式又跑出問題: forrt1: severe <161>:Program Exception - array bounds exceed Image PC Routine Line Source : Au_best<new>.exe 00402ADE Unknown Unknown Unknown : Au_best<new>.exe 004073BF Unknown Unknown Unknown : Au_best<new>.exe 0040608B Unknown Unknown Unknown : Au_best<new>.exe 0041A3F9 Unknown Unknown Unknown : Au_best<new>.exe 0040183E Unknown Unknown Unknown : Au_best<new>.exe 0043AEF9 Unknown Unknown Unknown kernel32.dll 7C81776F Unknown Unknown Unknown : Incrementally linked image -- PC correlation disabled. : Press any key to continue 這指的是array命令的範圍錯誤嗎?感謝^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.87.246

08/20 16:58, , 1F
是的,例如一個從1到10的矩陣但是你要第11個的值
08/20 16:58, 1F

08/20 17:35, , 2F
非常謝謝^^"
08/20 17:35, 2F
文章代碼(AID): #1I4ngMcd (Fortran)
討論串 (同標題文章)
文章代碼(AID): #1I4ngMcd (Fortran)