It's not a line of code; it should be 3:
#if defined(DEBUG) | defined (_DEBUG)_CrtSetDbgFlag (_CRTDBG_ALLOC_MEM_OF | CRTDBG_LEAK_CHECK_OF);#endif
EDIT: This question changed several times after I answered it and in its current state the issue is a missing include file:
#include <crtdbg.h>