wordthread.cpp

来自「本目录内所有代码仅作指导用户编程之用,用户如果要作为 商业用途,建议使用正版软」· C++ 代码 · 共 54 行

CPP
54
字号
// WordThread.cpp : implementation file
//

#include "stdafx.h"
#include "vc_demo.h"
#include "WordThread.h"

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

/////////////////////////////////////////////////////////////////////////////
// CWordThread

IMPLEMENT_DYNCREATE(CWordThread, CWinThread)

CWordThread::CWordThread()
{
}

CWordThread::~CWordThread()
{
}

BOOL CWordThread::InitInstance()
{
	// TODO:  perform and per-thread initialization here
	return TRUE;
}

int CWordThread::ExitInstance()
{
	// TODO:  perform any per-thread cleanup here
	return CWinThread::ExitInstance();
}

BEGIN_MESSAGE_MAP(CWordThread, CWinThread)
	//{{AFX_MSG_MAP(CWordThread)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWordThread message handlers

int  CWordThread::Run()
{
	//this thread is used to write received data to file
	return CWinThread::Run();
}

⌨️ 快捷键说明

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