threadset.cpp
来自「c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++」· C++ 代码 · 共 36 行
CPP
36 行
// ThreadSet.cpp: implementation of the CThreadSet class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "EnumProc.h"
#include "ThreadSet.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CThreadSet::CThreadSet()
{
}
CThreadSet::~CThreadSet()
{
}
void CThreadSet::operator =(CThreadSet &newElement)
{
m_procInfo = newElement.m_procInfo;
int nSize = newElement.m_arThread.GetSize() - 1;
for (int nCount = 0;nCount < nSize;nCount++)
m_arThread.SetAt(nCount,newElement.m_arThread[nCount]);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?