?? weight.h
字號(hào):
// Weight.h: interface for the CWeight class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WEIGHT_H__EEDBEC6B_18F6_45F8_8DBB_3C56816B5234__INCLUDED_)
#define AFX_WEIGHT_H__EEDBEC6B_18F6_45F8_8DBB_3C56816B5234__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CWeight
{
public:
CWeight();
CWeight(short i_id,short o_id,float m_w);
void SetW_id(short i_id,short o_id); //設(shè)置權(quán)重標(biāo)識(shí)
short GetW_id(); //取得權(quán)重標(biāo)識(shí)
void SetW_w(float m_w); //設(shè)置權(quán)重
float GetW_w(); //取得權(quán)重
virtual ~CWeight();
private:
short w_id;//權(quán)重標(biāo)識(shí)
float w;//權(quán)重
};
#endif // !defined(AFX_WEIGHT_H__EEDBEC6B_18F6_45F8_8DBB_3C56816B5234__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -