看板 EE_DSnP 關於我們 聯絡資訊
※ 引述《ijb ()》之銘言: : ※ 引述《ric2k1 (Ric)》之銘言: : : Please note that there is a typo in Problem-3: : : 11 void g() : : 12 { : : 13 int j[30]; : : 14 for (int m = 0; m < 30; ++m) : : 15 j[30] = 0; : : 16 } : : 15 j[m] = 0; : : I will upload the source code and homework assignment (word & pdf) : : immediately. : 是我搞笑嗎? : prob3 (b_ii): : variable i會有address嗎? 看到的是disable啊.... : 而且傳i=10的值回去當address很怪吧? : 老師是要我們觀察f()的address還是i的? : ps:別打我,我直的不曉得老師大人要做什麼... 多追加一個問題, prob4_i: 做完make的動作後, 打指令test < do.C499後,並沒有Segmentation fault的字樣出現耶 是我家的電腦有AI嗎? 另外,檔案給的file中do.C499原本應該是do.C499.txt吧... 執行的時候應該要把do.C499.txt 改成 do.C499 那circuit.cpp.txt要不要也改成circuit.cpp呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.42.185
ric2k1:檔名怎麼會變成 do.C99.txt 呢? 又那來的 circuit.cpp.txt? 10/03 23:02
ric2k1:Memory bug 是可能會有 platform dependent 的情形, 10/03 23:04
ric2k1:請問你的 OS 和 compiler 的版本是? 10/03 23:04