title: _DEBUG vs NDEBUG
body: <p>Which preprocessor define should be used to specify debug sections of code?</p>
  
  <p>Use <code>#ifdef _DEBUG</code> or <code>#ifndef NDEBUG</code> or is there a better way to do it, e.g. <code>#define MY_DEBUG</code>?</p>
  
  <p>I think <code>_DEBUG</code> is Visual Studio specific, is NDEBUG standard?</p>