一、编译选项加入 -MEMWATCH spa
二、项目包含文件 memwatch.h 和 memwatch.c 编译
三、项目内所有 #include <stdlib.h> 用 #include "memwatch.h" 代替 项目
四、代码内加入 mwStatistics(2); 开启检测 文件