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

📄 analyzerdlg.h

📁 编译原理课程
💻 H
字号:
// analyzerDlg.h : header file
//

#if !defined(AFX_ANALYZERDLG_H__5D454ABE_6E2B_4941_B7B0_8F8EA16C3023__INCLUDED_)
#define AFX_ANALYZERDLG_H__5D454ABE_6E2B_4941_B7B0_8F8EA16C3023__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "newDlg.h"
/////////////////////////////////////////////////////////////////////////////
// CAnalyzerDlg dialog

class CAnalyzerDlg : public CDialog
{
// Construction
public:
	CString showConst();
	CString showID();
	CString showKeyWord();

	
	CString s_str;
	CAnalyzerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CAnalyzerDlg)
	enum { IDD = IDD_ANALYZER_DIALOG };
	CString	m_Edit1;
	CString	m_Edit2;
	CString	m_Edit3;
	//}}AFX_DATA

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

// Implementation
protected:
	int flag;
	int createDlg();
	newDlg nDlg;
	int cTP;
	int constTable[300];
	int insertConst();
	int IDTP;
	int insertID();
	void retract();
	int isKey();
	bool isDigit();
	bool isLetter();
	void concat();
	CString strToken;
	void createTable();
	struct keyWord
	{
		CString note;
		CString value;
	};
	keyWord keyWordTable[100];
	keyWord IDTable[200];
	void getBC();
	CString s_str2;
	void getChar();
	int n_position;
	HICON m_hIcon;
	char c_char;

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

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

#endif // !defined(AFX_ANALYZERDLG_H__5D454ABE_6E2B_4941_B7B0_8F8EA16C3023__INCLUDED_)

⌨️ 快捷键说明

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