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

📄 1724dlg.h

📁 24点游戏
💻 H
字号:
// 1724Dlg.h : header file
//

#if !defined(AFX_1724DLG_H__33650D74_01AC_44D8_B8D3_905E1C69B8CB__INCLUDED_)
#define AFX_1724DLG_H__33650D74_01AC_44D8_B8D3_905E1C69B8CB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string> 
/////////////////////////////////////////////////////////////////////////////
// CMy1724Dlg dialog
using namespace std;
class CMy1724Dlg : public CDialog
{
// Construction
public:
	bool num_check(char* a,char* b,double* c);
	bool calcul(char *st,double *pa);
	bool Search(int  n);
	int numm;
	enum {COUNT_OF_NUMBER = 4,NUMBER_TO_BE_CAL=24};
	const  double PRECISION;
	string str_temp;
	int getnum[COUNT_OF_NUMBER];
	string expression[COUNT_OF_NUMBER];
	double number[COUNT_OF_NUMBER+1];
	double number_copy[COUNT_OF_NUMBER+1];

	CMy1724Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMy1724Dlg)
	enum { IDD = IDD_MY1724_DIALOG };
	CStatic	m_num4;
	CStatic	m_num3;
	CStatic	m_num2;
	CStatic	m_num1;
	CButton	m_away;
	CButton	m_submit;
	CButton	m_next;
	CButton	m_look;
	CButton	m_close;
	CButton	m_beg;
	CString	m_answer;
	BOOL	m_noans;
	CString	m_get;
	CString	m_count;
	CString	m_decide;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMy1724Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void Onbeg();
	afx_msg void Onnext();
	afx_msg void Onlook();
	afx_msg void Onclosed();
	afx_msg void OnCheck1();
	afx_msg void Onsubmit();
	afx_msg void Onaway();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_1724DLG_H__33650D74_01AC_44D8_B8D3_905E1C69B8CB__INCLUDED_)

⌨️ 快捷键说明

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