📄 projectdlg.h
字号:
// ProjectDlg.h : header file
//
#if !defined(AFX_PROJECTDLG_H__1F2006A7_FF75_11DA_9367_50781C1F8616__INCLUDED_)
#define AFX_PROJECTDLG_H__1F2006A7_FF75_11DA_9367_50781C1F8616__INCLUDED_
#include "fstream.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CProjectDlg dialog
class CProjectDlg : public CDialog
{
// Construction
public:
CProjectDlg(CWnd* pParent = NULL); // standard constructor
int iskeyword(CString str,struct entry keyword[]);
int isdelimeter(CString str,struct entry delimeter[]);
int digitsort(char str[]);
int charsort(char str[]);
char *transvert(int num);
char *getnexttoken();
bool isidentifier(char *token);
void varst(char *token);
char *ST_SORT(char *token);
char *ifs(char *token);
char *whiles(char *token);
char *repeats(char *token);
char *fors(char *token);
char *assign(char *token);
char *bexp(char *token);
void bt(char *token);
void bf(char *token);
char *aexpr(char *token);
void saexpr(char *token);
char *cal(char *token);
CRect m_sizeWin;
int m_nAdd;
BOOL m_bIsReSize;
// Dialog Data
//{{AFX_DATA(CProjectDlg)
enum { IDD = IDD_PROJECT_DIALOG };
CString m_content;
CString m_TOKEN;
CString m_CHAR;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProjectDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CProjectDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onread();
afx_msg void OnWordAnalyse();
afx_msg void OnWordSave();
afx_msg void OnGrammerAnalyse();
afx_msg void OnGrammerSave();
afx_msg void OnChangeEdit1();
afx_msg void Ond();
afx_msg void OnS();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
private:
CString m_strFileNamePath,m_strTargetFileContent;//用于表示文件的路径的字符串
ifstream m_FileInput;
ofstream m_FileOutput;
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROJECTDLG_H__1F2006A7_FF75_11DA_9367_50781C1F8616__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -