⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 avl_debug_macros.h

📁 独立于AVL库的存储媒体 虽现在有不少可用的AVL树库
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
// Name:        avl_debug_macros.h
// Version:		1.0.0
// Purpose:     AVL Library Debug Macros
// Author:      Wu Yuh Song
// Modified by:
// Created:     07/30/1999
// Copyright:   (c) Wu Yuh Song
// Licence:   	Wu Yuh Song's Library Licence, Version 1
/////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////
//
//
//	These macros are designed specifically for Microsoft Visual C++
//	and GCC.
//
//  Modifications might be needed if you are using the other development
//  tools.
//
//
/////////////////////////////////////////////////////////////////////////////


#ifndef ___AVL_DEBUG_MACROS___
#define ___AVL_DEBUG_MACROS___

#if ( (!defined(_DEBUG) && defined(_MSC_VER))	|| \
	  (defined(NDEBUG) && !defined(_MSC_VER)) )
		  
	#undef _DEBUG

	#define verify(arg)  (arg)
	#define assert(arg)	 (NULL)
#else

	#define _DEBUG

	#include <assert.h>
	#define verify(arg)	 assert(arg)
	
#endif


#ifndef _MFC_VER

	void NullTrace(...){}
	#define TRACE ::NullTrace

#endif



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -