📄 lr分析过程模拟dlg.h
字号:
// LR分析过程模拟Dlg.h : header file
//
#if !defined(AFX_LR0DLG_H__A7B2237C_6888_407E_8AB0_B50962EB0998__INCLUDED_)
#define AFX_LR0DLG_H__A7B2237C_6888_407E_8AB0_B50962EB0998__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CLR0Dlg dialog
class CLR0Dlg : public CDialog
{
// Construction
public:
void PopOut();
void DoR(int state);
void show(int num);
int GetNumber(CString str);
int GetSubItem(char c);
int state;
bool bFlag;
int y;
int x;
int x2;
int y2;
int num; //记录步骤
CString strTemp;
CString strStack;
CString strAction;
CLR0Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLR0Dlg)
enum { IDD = IDD_LR0_DIALOG };
//CListCtrl m_list2;
CListCtrl m_list1;
CSortListCtrl m_list;
CString m_code;
CString m_stack_code; //记录符号栈里的符号
CString m_stack_state; //记录状态栈里的符号
CString m_temp; //记录剩余输入字符
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLR0Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLR0Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAnaylize();
afx_msg bool OnSingle();
afx_msg void OnExample();
afx_msg void OnList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnList2(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LR0DLG_H__A7B2237C_6888_407E_8AB0_B50962EB0998__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -