workanadlg.h
来自「学了编译原理之后写的一个小的词法兼语法分析程序」· C头文件 代码 · 共 69 行
H
69 行
// 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 + =
减小字号Ctrl + -
显示快捷键?