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

📄 show.cpp

📁 编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作者吕映芝、张素琴等。 实现主要功能有:对使用PL0语言编写的程序进行词法分析
💻 CPP
字号:
// Show.cpp : implementation file
//

#include "stdafx.h"
#include "PL0.h"
#include "Show.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Show dialog


Show::Show(CWnd* pParent /*=NULL*/)
	: CDialog(Show::IDD, pParent)
{
	//{{AFX_DATA_INIT(Show)
	m_Variable = 0;//
	//}}AFX_DATA_INIT

	flag=false;
}
/*bool Show::GetFlag()
{
	return  flag ;
}
int Show::OpenDialogInput(Show Input)
{
            if(Input)
				Input->SetActiveWindow();
			else
			{
				Input=new Show(this);
				Input->Create(IDD_Show,this);
			}
}*/


void Show::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Show)
	DDX_Text(pDX, IDC_EDIT1, m_Variable);
	DDV_MinMaxInt(pDX, m_Variable, -2147483648, 2147483647);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Show, CDialog)
	//{{AFX_MSG_MAP(Show)
	ON_BN_CLICKED(IDC_Exit, OnExit)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Show message handlers

void Show::OnExit() 
{
	// TODO: Add your control notification handler code here
	    flag=true;
		CDialog::OnOK(); 
}

⌨️ 快捷键说明

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