感覺跟大一上C語言差不多 XD 抓個錯字: L42: exclusive or L51: Else L115: Command 一些問題: L65: switch fallthrough 在某些情況下很實用, 並不是不能用(goto 同理) L79: 一般的編譯器不會在 switch 語句生成 binary search。在範圍不大的情況下,是用 jump table 進行流程控制(就時間複雜度來說比 binary search 更好) L117: recursion 執行成本比較高(stack frame, function call...), 不過當 recursion 寫法符合某些條件(ex. tail recursion), 而且有打開編譯器最佳化,那生出來的 code 會被改寫成 L123: 在有 MMU 的系統中(ex. x86, arm cortex-a...), virtual memory address 會連續, 但是 physical address 則要看作業系統的分配。 L129: 現在是 2016 年了喔 :P