?? susuan~1.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 + -