precept.cpp
来自「编译原理课程设计(包括语法分析」· C++ 代码 · 共 35 行
CPP
35 行
#include "stdafx.h"
#include "Precept.h"
Precept::Precept(void)
{
strLeft = "";
strRight = "";
}
Precept::~Precept(void)
{
}
Precept::Precept(string left, string right)
{
strLeft = left;
strRight = right;
}
string Precept::GetLeft()
{
return strLeft;
}
string Precept::GetRight()
{
return strRight;
}
void Precept::Clear(void)
{
strLeft = "";
strRight = "";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?