⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strcurrency.h

📁 What I did with this class is to automatize (not MS s automation) several processes to do a search i
💻 H
字号:
// StrCurrency.h: interface for the CStrCurrency class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STRCURRENCY_H__2CD273B1_6F36_4633_B965_C80376E0D2EA__INCLUDED_)
#define AFX_STRCURRENCY_H__2CD273B1_6F36_4633_B965_C80376E0D2EA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CStrCurrency  
{
public:
	CStrCurrency(CStrCurrency& other);
	CStrCurrency();
	virtual ~CStrCurrency();
	CString m_Str;

	operator long double();
	operator CString();
	operator COleCurrency();

	const CStrCurrency& operator =(const CStrCurrency& other);

	long double		operator =(long double	ldVal );
	COleCurrency	operator =(COleCurrency ocVal );
	CString			operator =(CString		strVal);


protected:
	void MakeStr(void);
	void MakeLd (void);
	COleCurrency m_Currency;
	long double m_ldCurrency;

};

#endif // !defined(AFX_STRCURRENCY_H__2CD273B1_6F36_4633_B965_C80376E0D2EA__INCLUDED_)

⌨️ 快捷键说明

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