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

📄 susuan~1.h

📁 24点游戏呀 很好的 染我上传呀哑哑呀
💻 H
字号:
// SusuanDlg.h : header file
//

#if !defined(AFX_SUSUANDLG_H__3BF11026_2F79_11D5_BDF0_0000E8345549__INCLUDED_)
#define AFX_SUSUANDLG_H__3BF11026_2F79_11D5_BDF0_0000E8345549__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSusuanDlg dialog

class CSusuanDlg : public CDialog
{
// Construction
public:
int SpendTime;



char *stopstring;	
//定位最后一个算术符号的位置
int AnyLastPos(CString Str);
//定位最先一个算术符号的位置
int AnyFirstPos(CString Str);
//判断最先出现的符号是+号、-号、*号还是/号
char AnyFirstF(CString Str);
//此计算用于计算不带()号的加、减、乘、除运算
int SubCompute(CString Str);
//用于计算表达式的结果
int TotalCompute(CString Str);



	HBITMAP m_hBackGround;
    void RandomDisplay();//随机显示4张牌的函数
	int card[14];
	CButton* m_Button[4];
	CBitmap BackGroundBitmap;
	CBitmap Bitmap[13];

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

// Dialog Data
	//{{AFX_DATA(CSusuanDlg)
	enum { IDD = IDD_SUSUAN_DIALOG };
	CString	m_EDIT1;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSusuanDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnButton5();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SUSUANDLG_H__3BF11026_2F79_11D5_BDF0_0000E8345549__INCLUDED_)

⌨️ 快捷键说明

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