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

📄 scannerdlg.h

📁 操作系统课程设计:段页式存储地址管理 需要的就下吧
💻 H
字号:
// ScannerDlg.h : header file
//

#if !defined(AFX_SCANNERDLG_H__582AA5D9_D4F2_49A7_9BD2_2370B0F7C6DF__INCLUDED_)
#define AFX_SCANNERDLG_H__582AA5D9_D4F2_49A7_9BD2_2370B0F7C6DF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CScannerDlg dialog

class CScannerDlg : public CDialog
{
// Construction
public:
	CScannerDlg(CWnd* pParent = NULL);	// standard constructor
public:
	int value;
	int length;
	BOOL ends;
	char ch;
	BOOL digit;
	int point;
	int code;

	CString strToken;
    int PrimaryKey[50];
	CString Identifier[50];
	CString Const[50];
	CString Symbol[100];

public:
	char GetChar();
	void GetBC();
	void Concat();
	BOOL IsLetter();
	BOOL IsDigit();
	int Reserve();
	void Retract();
	int InsertId();
	int InsertConst();
	int InsertSymbol();
	void ShowOut();
// Dialog Data
	//{{AFX_DATA(CScannerDlg)
	enum { IDD = IDD_SCANNER_DIALOG };
	CEdit	m_edit_source;
	CEdit	m_edit_result;
	CString	m_result;
	CString	m_source;
	int		m1;
	int		m2;
	int		m3;
	int		m4;
	int		m33;
	int		m7;
	int		m8;
	int		m9;
	CString	m10;
	CString	m11;
	CString	m12;
	CString	m13;
	int		m18;
	int		m19;
	int		m20;
	int		m21;
	int		m14;
	int		m15;
	int		m16;
	int		m17;
	int		m22;
	int		m23;
	int		m24;
	int		m25;
	int		m26;
	int		m28;
	int		m27;
	int		m29;
	int		m30;
	int		m31;
	int		m32;
	int		m333;
	int		m34;
	int		m35;
	CString	m36;
	CString	m37;
	CString	m38;
	CString	m39;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CScannerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnScan();
	afx_msg void OnSave();
	afx_msg void OnOpen();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SCANNERDLG_H__582AA5D9_D4F2_49A7_9BD2_2370B0F7C6DF__INCLUDED_)

⌨️ 快捷键说明

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