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

📄 caoyutingdlg.h

📁 实现了简单的Simple语言的编辑器,包括词法分析,语法分析,生成四元式,以及生成符号表功能,在符号表中还可以进行查询与删除.
💻 H
字号:
// caoyutingDlg.h : header file
//

#if !defined(AFX_CAOYUTINGDLG_H__E8A965E2_6F1C_4C88_9FD7_5C1C620436EE__INCLUDED_)
#define AFX_CAOYUTINGDLG_H__E8A965E2_6F1C_4C88_9FD7_5C1C620436EE__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCaoyutingDlg dialog
#include "Compiler.h"
#include "Xedit.h"
class CCaoyutingDlg : public CDialog
{
// Construction
public:
	void OnClose();
	CCaoyutingDlg(CWnd* pParent = NULL);	// standard constructor
    CString m_strCurFile;
// Dialog Data
	//{{AFX_DATA(CCaoyutingDlg)
	enum { IDD = IDD_CAOYUTING_DIALOG };
	CXEdit	m_cOut;
	CXEdit	m_cIn;
	CString	m_cStateBar;
	CString	m_str;
	//}}AFX_DATA

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

// Implementation
protected:
    CCompiler m_Compiler;
	HICON m_hIcon;
	BOOL m_bSysEnable;
   
	// Generated message map functions
	//{{AFX_MSG(CCaoyutingDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnMenuitemOpen();
	afx_msg void OnMenuitemSave();
	afx_msg void OnMenuitemExit();
	afx_msg void OnMenuitemAbout();
	afx_msg void OnMenuitemCifa();
	afx_msg void OnMenuitemYufa();
	afx_msg void OnMenuitemYuyi();
	afx_msg void OnMenuitemXianshi();
	afx_msg void OnMenuitemSaveas();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CAOYUTINGDLG_H__E8A965E2_6F1C_4C88_9FD7_5C1C620436EE__INCLUDED_)

⌨️ 快捷键说明

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