?? susuan~1.h
字號(hào):
// 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;
//定位最后一個(gè)算術(shù)符號(hào)的位置
int AnyLastPos(CString Str);
//定位最先一個(gè)算術(shù)符號(hào)的位置
int AnyFirstPos(CString Str);
//判斷最先出現(xiàn)的符號(hào)是+號(hào)、-號(hào)、*號(hào)還是/號(hào)
char AnyFirstF(CString Str);
//此計(jì)算用于計(jì)算不帶()號(hào)的加、減、乘、除運(yùn)算
int SubCompute(CString Str);
//用于計(jì)算表達(dá)式的結(jié)果
int TotalCompute(CString Str);
HBITMAP m_hBackGround;
void RandomDisplay();//隨機(jī)顯示4張牌的函數(shù)
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_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -