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

📄 dot04_02dlg.h

📁 实现24点游戏的功能
💻 H
字号:
// Dot04_02Dlg.h : header file
//

#if !defined(AFX_DOT04_02DLG_H__640C14E7_55EF_11BD_8BAD_00030FFBFC98__INCLUDED_)
#define AFX_DOT04_02DLG_H__640C14E7_55EF_11BD_8BAD_00030FFBFC98__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "back.h"
/////////////////////////////////////////////////////////////////////////////
// CDot04_02Dlg dialog

class CDot04_02Dlg : public CDialog
{
// Construction
public:
	int l;
	int k;
	int j;
	int i;
	CBitmap bj[5];
	   int stop;
	   int t1;
	   int t2;
	   int t3;
	   int t4;
	CString compu(int i1,int i2,int i3,int i4);
	float compu3(float i1,float i2,int i);
	int compu1(float i1,float i2,float i3,float i4,CString &s);
	int AnyLastPos(CString Str);
	int AnyFirstPos(CString Str);
	char AnyFirstF(CString Str);
    int SubCompute(CString Str);
	int TotalCompute(CString Str);
	char * stopstring;
	   CBitmap card;
       CBitmap card1[13];
	   CBitmap card2[13];
	   CBitmap card3[13];
	   CBitmap card4[13];
	   CButton *m_button[5];

	//CExpression m_expression;
	LV_ITEM lvItem;
	//BOOL IsStart();
	
	CDot04_02Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDot04_02Dlg)
	enum { IDD = IDD_DOT04_02_DIALOG };
	CButton	i4;
	CButton	i3;
	CButton	i2;
	CComboBox	m_combo;
	CString	m_input;
	int		m_js;
	int		m_jf;
	BOOL	m_check;
	CString	m_LIST;
	int		m_jushu;
	int		m_lunshu;
	BOOL over10;//是否出大于10的牌
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDot04_02Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnStart();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnOk();
	afx_msg void OnkuohaoL();
	afx_msg void Onjia();
	afx_msg void Onjian();
	afx_msg void Onchen();
	afx_msg void Onchu();
	afx_msg void OnkuohaoR();
	afx_msg void Ontijiao();
	afx_msg void OnPai1();
	afx_msg void OnPai2();
	afx_msg void OnPai3();
	afx_msg void OnPai4();
	afx_msg void Onzanting();
	afx_msg void Onjixu();
	afx_msg void Onfapai();
	afx_msg void Onbj();
	afx_msg void OnChangeEdit1();
	afx_msg void OnAbout();
	afx_msg void OnOver10();
	afx_msg void OnUpdateOver10(CCmdUI* pCmdUI);
	afx_msg void OnBelow10();
	afx_msg void OnUpdateBelow10(CCmdUI* pCmdUI);
	afx_msg void OnNandu();
	afx_msg void OnAboutgame();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DOT04_02DLG_H__640C14E7_55EF_11BD_8BAD_00030FFBFC98__INCLUDED_)

⌨️ 快捷键说明

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