📄 granalyserdlg.h
字号:
// GrAnalyserDlg.h : header file
//
#if !defined(AFX_GRANALYSERDLG_H__CF3AB761_41E3_461B_A206_36014B7AEB96__INCLUDED_)
#define AFX_GRANALYSERDLG_H__CF3AB761_41E3_461B_A206_36014B7AEB96__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CGrAnalyserDlg dialog
struct chart
{
CString Trule;
CString Frule;
};
struct node
{
char data;
node * next;
};
class Lstack
{
protected:
int count;
node * top;
public:
CString PRIstack();
Lstack(void);
~Lstack();
char POPstack();
void PUSHstack(char newdata);
};
class CGrAnalyserDlg : public CDialog
{
// Construction
public:
chart rulecheck(CString X,CString a);
char Vt[6];
char Vn[5];
CString charbuf;
chart table[5][6];
CGrAnalyserDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CGrAnalyserDlg)
enum { IDD = IDD_GRANALYSER_DIALOG };
CListBox m_list3;
CListBox m_list2;
CListBox m_list1;
CString m_input;
int m_count1;
int m_count2;
int m_count3;
CString m_info;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGrAnalyserDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGrAnalyserDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onanalyse();
afx_msg void Oncleanit();
afx_msg void Onreedit();
afx_msg void Oninfo1();
afx_msg void Onerrora();
afx_msg void Onerrorb();
afx_msg void OnSelchangeList1();
afx_msg void OnSelchangeList2();
afx_msg void OnSelchangeList3();
afx_msg void Onexample();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRANALYSERDLG_H__CF3AB761_41E3_461B_A206_36014B7AEB96__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -