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

📄 bydlg.h

📁 词法分析器. 学习编译原理时做的词法分析器. 总体上感觉一般.
💻 H
字号:
// byDlg.h : header file
//

#if !defined(AFX_BYDLG_H__B1839D0D_A081_4791_8F8A_05AC926E5C51__INCLUDED_)
#define AFX_BYDLG_H__B1839D0D_A081_4791_8F8A_05AC926E5C51__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CByDlg dialog

#include<string.h>
#include<ctype.h>
#include<conio.h>

#define  MAX 18			//分析表的最大容量
#define  MAXBUF 255

#include"link.h"


class CByDlg : public CDialog
{
// Construction
public:
	void analyse(FILE *fpin,FILE *fpout);
	int search(char *temp);
	void init();
	CByDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CByDlg)
	enum { IDD = IDD_BY_DIALOG };
	CLink	m_me;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CByDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
		
	
	CString m_strFileName;


	// Generated message map functions
	//{{AFX_MSG(CByDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpen();
	afx_msg void OnFenxi();
	afx_msg void OnStatic1();
	afx_msg void OnSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CFont m_font;
};

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

#endif // !defined(AFX_BYDLG_H__B1839D0D_A081_4791_8F8A_05AC926E5C51__INCLUDED_)

⌨️ 快捷键说明

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