uendflag.cpp

来自「输入一个表达式子 然后输出 这个式子 的LL1文法形式」· C++ 代码 · 共 42 行

CPP
42
字号
// uendflag.cpp: implementation of the Cuendflag class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "LL1.h"
#include "uendflag.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

//////////////construct
Cuendflag::Cuendflag(TCHAR c)
{
	flag=c;
}
/////////////destroy
Cuendflag::~Cuendflag()
{

}


//DEL bool Cuendflag::isaflag(TCHAR c)
//DEL {
//DEL 	Cuendflag *uendflag=head;
//DEL 	while(uendflag!=NULL){
//DEL 		if(uendflag->flag==c){
//DEL 			return TRUE;
//DEL 		}
//DEL 		uendflag=uendflag->next;
//DEL 	}
//DEL 	return FALSE;
//DEL }

⌨️ 快捷键说明

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