📄 debugerror.h
字号:
#ifndef __DEBUG_ERROR_H__
#define __DEBUG_ERROR_H__
//#define __DEBUG__
#ifdef __DEBUG__
#define DEBUG_LOG_FILE "C:\\DebugLog.log"
// function
void OutputLogToFile( const char* str );
void OutputLogToFile1( const char* str, int val );
void OutputTimeToFile();
// macro
#define OutputDebugLog( STR ) OutputLogToFile( (STR) )
#define OutputDebugLog1( STR, VAL ) OutputLogToFile1( (STR), (VAL) )
#define OutputTimeToLog() OutputTimeToFile()
#else // __DEBUG__
#define OutputDebugLog( STR )
#define OutputDebugLog1( STR, VAL )
#define OutputTimeToLog()
#endif // __DEBUG__
#endif // __DEBUG_ERROR_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -