anothershow.cpp
来自「编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作」· C++ 代码 · 共 52 行
CPP
52 行
// AnotherShow.cpp : implementation file
//
#include "stdafx.h"
#include "PL0.h"
#include "AnotherShow.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAnotherShow dialog
CAnotherShow::CAnotherShow(CWnd* pParent /*=NULL*/)
: CDialog(CAnotherShow::IDD, pParent)
{
//{{AFX_DATA_INIT(CAnotherShow)
m_Variable = 0;
flag=false ;
//}}AFX_DATA_INIT
}
void CAnotherShow::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAnotherShow)
DDX_Text(pDX, IDC_EDIT1, m_Variable);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAnotherShow, CDialog)
//{{AFX_MSG_MAP(CAnotherShow)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAnotherShow message handlers
void CAnotherShow::OnCancel()
{
// TODO: Add extra cleanup here
flag=true;
CDialog::OnCancel();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?