摘要: usage 在使用 gdb debug 程式前, compile 需要加 g 產生 debug information, g3 為最多 debug information 以及 加 O0 程式不要優化 Do not print the introductory and copyright messa 阅读全文
posted @ 2017-05-04 19:15 wangchangruei 阅读(579) 评论(0) 推荐(0)
摘要: conclusion 愈前面的變數,出現在 memory 愈低的 memory address 愈後面的變數,出現在 memory 愈高的 memory address 符合 heap 由 低 address 往 高 address 的方向 reference http://wp.mlab.tw/? 阅读全文
posted @ 2017-05-04 13:56 wangchangruei 阅读(273) 评论(0) 推荐(0)