📄 symboltable.h
字号:
#include<string>
#include<fstream>
//#include <iomanip>
using namespace std;
struct Element
{
string token;
int line;
};
class SymbolTable{
private:
Element table[2000];
int count;
public:
SymbolTable();
SymbolTable(Element array[],int number);
bool isPresent(string token0);
void insert(Element entry);
void outPutTable(ofstream& out);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -