📄 by2view.h
字号:
// BY2View.h : interface of the CBY2View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BY2VIEW_H__A64DC596_4C78_4A5C_A897_CB551A9D8493__INCLUDED_)
#define AFX_BY2VIEW_H__A64DC596_4C78_4A5C_A897_CB551A9D8493__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBY2View : public CEditView
{
protected: // create from serialization only
CBY2View();
DECLARE_DYNCREATE(CBY2View)
// Attributes
public:
CBY2Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBY2View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
char Check_alphabet(char *TT);
virtual ~CBY2View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBY2View)
afx_msg void OnTest();
afx_msg void OnBuild();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void finishi();
int result[1024][2];
int r;
int Even_S();
int Even_A();
int Even_B();
int Even_D();
int Even_C();
int Even_G();
int Even_F();
int Even_I();
int Even_J();
int Even_K();
int Even_H();
int Even_L();
int Even_N();
int Even_G1();
int Even_I1();
int Even_J1();
int Even_L1();
void error(int flag,int type=30);
/*const char keyword[][9]={{'m','a','i','n'},{'i','n','t'},
{'r','e','a','l'},{'c','h','a','r'},{'i','f'},
{'e','l','s','e'}};*/
CString keyword[6];
};
#ifndef _DEBUG // debug version in BY2View.cpp
inline CBY2Doc* CBY2View::GetDocument()
{ return (CBY2Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BY2VIEW_H__A64DC596_4C78_4A5C_A897_CB551A9D8493__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -