visual studio区分Release与Debug

  • 区分Release与Debug
#include 

#ifdef NDEBUG
	std::cout << "Release" << std::endl;

#else
	std::cout << "Debug" << std::endl;
	
#endif

你可能感兴趣的:(C++,visual,studio,ide,c++)