output.cpp

来自「手机选中奖号器」· C++ 代码 · 共 37 行

CPP
37
字号
// Output.cpp: implementation of the Output class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "RandomPhone.h"
#include "Output.h"

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

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

Output::Output()
{

}

Output::~Output()
{
	RemoveAll();
}

void Output::RemoveAll()
{
	POSITION pos = m_output.GetHeadPosition();
	while (pos != NULL)
	{
		delete m_output.GetNext(pos);
	}
	m_output.RemoveAll();
}

⌨️ 快捷键说明

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