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

📄 workanadlg.h

📁 学了编译原理之后写的一个小的词法兼语法分析程序
💻 H
字号:
// workanaDlg.h : header file
//

#if !defined(AFX_WORKANADLG_H__C6C0FE19_7C0A_4847_8814_107694E5FDBF__INCLUDED_)
#define AFX_WORKANADLG_H__C6C0FE19_7C0A_4847_8814_107694E5FDBF__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CWorkanaDlg dialog

class CWorkanaDlg : public CDialog
{
// Construction
public:
	void infile();
	void outputyufaerror(CString str);
	void factor();
	void term();
	void expression();
	void statement();
	void yucu();
	void lrparser();
	void getsyn();
	void outputsuccess();
	CString m_s;
	CEdit* m_info1;
	void outputother();
	void outputerror();
	void outputdigit();
	void scaner();
	CWorkanaDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CWorkanaDlg)
	enum { IDD = IDD_WORKANA_DIALOG };
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CWorkanaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpenSFile();
	afx_msg void OnOpenDFile();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnDropFiles(HDROP hDropInfo);
	afx_msg void OnCompile();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_WORKANADLG_H__C6C0FE19_7C0A_4847_8814_107694E5FDBF__INCLUDED_)

⌨️ 快捷键说明

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