debug.h

来自「This the source release kit for the foll」· C头文件 代码 · 共 20 行

H
20
字号
//------------------------------------------------------------------------------
// File: debug.h
//------------------------------------------------------------------------------

#ifndef __DEBUG__H
#define __DEBUG__H

void _cdecl DebugPrintF(TCHAR * szFormat, ...);

//Debug statements for Errors
#define DP_ERROR(msg)     DebugPrintF msg  // Error statements
#define DP_WARNING(msg)   DebugPrintF msg  // Warning statements

//main debugging statements
#define DP_FUNC(msg)      //DebugPrintF msg  //function calling statements
#define DP_INFO(msg)      //DebugPrintF msg  //Information statements
#define DP_DATA(msg)      //DebugPrintF msg  //Input/Output statements

#endif // __DEBUG__H

⌨️ 快捷键说明

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