VC++ ã®ã©ã¤ãã©ãªã«ã¯ã¡ã¢ãªãªã¼ã¯ã®æ¤åºæ©è½ãããã¾ããé¢æ°ã²ã¨ã¤å¼ãã§ããã ãã§ã¢ããªã±ã¼ã·ã§ã³çµäºæã«ã¡ã¢ãªã®è§£æ¾æ¼ããåºåã¦ã£ã³ãã¦ã«è¡¨ç¤ºãã¦ãããã¨ãã便å©ãªãã®ãªã®ã§ãããå®éã«ããã使ãã¾ã§ã®éç¨ã«ç½ ãå¤ãã®ã§ã¡ã¢ãã¦ããã¾ããé·ããã¦æãªãããããããããªãã®ã§ãèå³ã®ããæ¹ã¯æå¾ã®åèãµã¤ãã ãèªãã ãããã¨æãã¾ãã 使ãæ¹ æ®éã«ä½¿ãåã«ã¯ç°¡åã§ãã stdafx.h ã®æ«å°¾*1ã« : #if _DEBUG #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #define new new(_NORMAL_BLOCK, __FILE__, __LINE__) #endif ã¨è¨è¿°ããmain é¢æ° (MFC ã§ããã° CWinApp::InitInstanceã¨ã) å é¨ã§ ::_CrtSetDbgFlag(_CRTDBG_L
{{#tags}}- {{label}}
{{/tags}}