C++內存泄漏檢測

C++內存泄漏檢測 CRT檢測 定位內存泄漏位置 #include "stdafx.h" #ifdef _DEBUG #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__) //重新定義new用於內存泄漏檢測時輸出行號 #define DEBUG_MALLOC(s) _malloc_dbg(s, _NORMAL_BLO
相關文章
相關標籤/搜索