?? winsuanfudoc.h
字號:
// WinsuanfuDoc.h : interface of the CWinsuanfuDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_WINSUANFUDOC_H__3AF32204_E6C0_4FD2_B345_DB7BC04C9AD4__INCLUDED_)
#define AFX_WINSUANFUDOC_H__3AF32204_E6C0_4FD2_B345_DB7BC04C9AD4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define MaxLen 1000
#include "CStack.h"
class CWinsuanfuDoc : public CDocument
{
protected: // create from serialization only
DECLARE_DYNCREATE(CWinsuanfuDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWinsuanfuDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
CWinsuanfuDoc();
virtual ~CWinsuanfuDoc();
void ClearDoc();
int ConvertP(CString str);
void fill_VnVtStart();
void InsertF(char p, char a);
void InsertL(char p, char a);
void FirstVt();
void LastVt();
void createtable(CString str);
int mymatch(CString str);
CString analyzer(CString str);
CString display_G();
CString display_firstvt();
CString display_lastvt();
CString display_table();
unsigned char buffer[MaxLen];
struct p
{
char pleft;
CString pright;
};
private:
struct p p6[100];
BOOL F[100][100];
BOOL L[100][100];
char table[100][100];
int pnum;
CString Vn;
CString Vt;
CString Start;
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CWinsuanfuDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WINSUANFUDOC_H__3AF32204_E6C0_4FD2_B345_DB7BC04C9AD4__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -