weight.cpp
来自「本文介绍了一个用java语言编写的用于分析消费行为的数据挖掘应用软件」· C++ 代码 · 共 40 行
CPP
40 行
// Weight.cpp: implementation of the CWeight class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Weight.h"
#include "CBA_SYSTEM.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CWeight::CWeight()
{
}
CWeight::CWeight(short i_id,short o_id,float m_w)
{
w_id=i_id*10+o_id;
w=m_w;
}
void CWeight::SetW_id(short i_id,short o_id)
{
w_id=i_id*10+o_id;
}
short CWeight::GetW_id()
{
return w_id;
}
void CWeight::SetW_w(float m_w)
{
w=m_w;
}
float CWeight::GetW_w()
{
return w;
}
CWeight::~CWeight()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?