winlog.cpp

来自「有关huffman的程序对大家学习数据结构有好处但不是所有人都用得上」· C++ 代码 · 共 28 行

CPP
28
字号
// WinLog.cpp: implementation of the WinLog class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "HuffmanTest.h"
#include "WinLog.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

WinLog::~WinLog()
{

}

void WinLog::LogText(CString EntryStr)
{
	LogStr+=EntryStr+"\r\n";
	MyTarget->SetWindowText(LogStr);
}

⌨️ 快捷键说明

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