主要是因為呼叫 malloc() 和 free() 在不同一個函數內, 容易犯錯而造成memory leak, 故非不得已不建議採用. 真的有困難時(只有library, 沒有source code), ...
確定! 回上一頁