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

📄 calculatordlg.h

📁 EVC下计算器
💻 H
字号:
// calculatorDlg.h : header file
//

#if !defined(AFX_CALCULATORDLG_H__3BFB717E_06F2_434F_8F47_4397BE5F5420__INCLUDED_)
#define AFX_CALCULATORDLG_H__3BFB717E_06F2_434F_8F47_4397BE5F5420__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCalculatorDlg dialog

class CCalculatorDlg : public CDialog
{
// Construction
public:
	CCalculatorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCalculatorDlg)
	enum { IDD = IDD_CALCULATOR_DIALOG };
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalculatorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCalculatorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnZero();
	afx_msg void OnOne();
	afx_msg void OnTwo();
	afx_msg void OnThree();
	afx_msg void OnFour();
	afx_msg void OnFive();
	afx_msg void OnSix();
	afx_msg void OnSeven();
	afx_msg void OnEight();
	afx_msg void OnNine();
	afx_msg void OnAdd();
	afx_msg void OnSub();
	afx_msg void OnMul();
	afx_msg void OnDiv();
	afx_msg void OnXfangY();
	afx_msg void OnDaoshu();
	afx_msg void OnSqrt();
	afx_msg void OnSin();
	afx_msg void OnCos();
	afx_msg void OnTan();
	afx_msg void OnLn();
	afx_msg void OnLog();
	afx_msg void OnNjie();
	afx_msg void OnDengyu();
	afx_msg void OnClean();
	afx_msg void OnZhengfu();
	afx_msg void OnPoint();
	afx_msg void OnStandard();
	afx_msg void OnScience();
	afx_msg void OnEXP();
	afx_msg void OnAngle();
	afx_msg void OnRadian();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	void operation(char ope);
public:
	void setEmpty(void);
public:
	void inputNum(int n);
public:
	int fact(double n);
public:
	double divd(double m,double n);
public:
	double power(double m,double n);
public:
	void dozero();
public:
	void dojiecheng();
public:
	void dodaoshu();
public:
	void doSqrt();
public:
	void doLog();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALCULATORDLG_H__3BFB717E_06F2_434F_8F47_4397BE5F5420__INCLUDED_)

⌨️ 快捷键说明

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