[C++]使用Visual Leak Detector for Visual C++ 2008/2010輔助偵測程式中記憶體洩漏的問題
#include “stdafx.h” #include “vld.h”
int _tmain(int argc, _TCHAR* argv[]) { char* buffer = new char[512]; return 0; }
#include “stdafx.h” #include “vld.h”
int _tmain(int argc, _TCHAR* argv[]) { char* buffer = new char[512]; return 0; }