?? varvalue.cpp
字號:
// VarValue.cpp: implementation of the CNumericValue class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "expresion.h"
#include "VarValue.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNumericValue::CNumericValue()
{
}
CNumericValue::~CNumericValue()
{
}
double CNumericValue::GetValue()
{
return *((double*)m_value);
}
void CNumericValue::SetValue(double value)
{
double *val = new double;
*val = value;
CValue::SetValue(val);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -