element.cpp

来自「扫描局域网」· C++ 代码 · 共 34 行

CPP
34
字号
// Element.cpp: implementation of the CElement class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ScanLAN.h"
#include "Element.h"

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

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

CElement::CElement()
{
	kind = 0;
}
void CElement::Set(int statei, int kindi, int indexi, CString IPi)
{
	state = statei;
	kind = kindi;
	index = indexi;
	IP = IPi;
}

CElement::~CElement()
{
}

⌨️ 快捷键说明

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