gsdebug.h

来自「连连看这个游戏都玩过吧」· C头文件 代码 · 共 24 行

H
24
字号



#ifndef	_MYDEBUG_H_
#define _MYDEBUG_H_

#define debugfile	"DEBUG.LOG"
#include <fstream>


class GSLIB_API CGsDebug
{
	std::ofstream	file;
public:
	CGsDebug();
	CGsDebug(char* szDEBUGFILE);
	~CGsDebug();
	virtual void ADD_LOG(char const*	format,...);
protected:
	virtual void OnAddLog(char const* time, char const* date, char const* log);
};

#endif

⌨️ 快捷键说明

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