在呼叫函式時會有額外的資源負擔,一些小函式,可以「建議」編譯器設為inline 行內,若建議被採納,該函式會自動在呼叫點展現為程式碼,例如: math.h int power2(int) ...
確定! 回上一頁