?? debug.hpp
字號(hào):
#ifndef DEBUG_HPP
#define DEBUG_HPP
// ------------------------------------------------------------------------
// debug.hpp - debugging macros, such as MY assert macro.
// $Id: debug.hpp 2.1 1995/10/24 15:52:51 tsurace Beta $
// $Log: debug.hpp $// Revision 2.1 1995/10/24 15:52:51 tsurace// Roll.//// Revision 1.1 1995/10/11 20:59:41 tsurace// Initial revision//
// ------------------------------------------------------------------------
// _MyWin32Assert - called by the ASSERT macro
//
void _MyWin32Assert(const char *, const char *, int, const char *);
// My assert macro. TAkes one parameter:
// ASSERT(NULL != pointer, "Cannot use null pointer");
//
#if !defined( NDEBUG )
# define ASSERT(PRM, COMMENT) \
((PRM) ? \
(void) 0 : \
_MyWin32Assert(#PRM, __FILE__, __LINE__, COMMENT))
#else
# define ASSERT(PRM, COMMENT) ((void)0)
#endif // NDEBUG
#endif // DEBUG_HPP
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -