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

📄 propersheet1.cpp

📁 这个是我用mfc写的一个pl0的编译器
💻 CPP
字号:
// propersheet1.cpp : implementation file
//

#include "stdafx.h"
#include "MFCpl0.h"
#include "propersheet1.h"
#include "execute.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Cpropersheet1

IMPLEMENT_DYNAMIC(Cpropersheet1, CPropertySheet)

Cpropersheet1::Cpropersheet1(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	AddPage(&prop2);
}

Cpropersheet1::Cpropersheet1(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddPage(&prop2);
}

Cpropersheet1::~Cpropersheet1()
{
}


BEGIN_MESSAGE_MAP(Cpropersheet1, CPropertySheet)
	//{{AFX_MSG_MAP(Cpropersheet1)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Cpropersheet1 message handlers



void Cpropersheet1::inputtable(tablestruct table[])
{
	for(int i=0 ;i<txmax;i++)
	{
		globetable[i]=table[i];
	}
	prop2.Addmsg(globetable);
}

⌨️ 快捷键说明

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