一、編譯選項加入 -MEMWATCH spa
二、項目包含文件 memwatch.h 和 memwatch.c 編譯
三、項目內所有 #include <stdlib.h> 用 #include "memwatch.h" 代替 項目
四、代碼內加入 mwStatistics(2); 開啓檢測 文件