📄 bignumdlg.h
字号:
// BigNumDlg.h : header file
//
#if !defined(AFX_BIGNUMDLG_H__B4B8F833_3578_4E75_B471_5FB2BA96B9EC__INCLUDED_)
#define AFX_BIGNUMDLG_H__B4B8F833_3578_4E75_B471_5FB2BA96B9EC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include"typedef.h"
/////////////////////////////////////////////////////////////////////////////
// CBigNumDlg dialog
#include "BigNumDlg.h"
class CBigNumDlg : public CDialog
{
// Construction
public:
CBigNumDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBigNumDlg)
enum { IDD = IDD_BIGNUM_DIALOG };
CButton m_btn2;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBigNumDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
/* bool CBigNumDlg::judge(char ch[],int N);
bool CBigNumDlg::chtoi(CString str,BNum *p);
void CBigNumDlg::itoch(CString &str,BNum *p)*/
bool judge(char ch[],int N); //判断输入是否符合要求;
static void chtoi(CString str,BNum *p); //将输入的符号转化为10进制数存放在数组中
static void chto_i(CString str,BNum *p); //将符号转化为16进制数存放在数组中
static void itoch(CString &str,BNum *p); //将p中的数据当作string类型输出
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CBigNumDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExit();
afx_msg void OnAdd();
afx_msg void OnPlus();
afx_msg void OnMulti();
afx_msg void OnDiv();
afx_msg void OnMod();
afx_msg void Ontransfer();
afx_msg void CBigNumDlg::transfer(CString &str1,CString &str3);
afx_msg void OnButton2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BIGNUMDLG_H__B4B8F833_3578_4E75_B471_5FB2BA96B9EC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -