global.h

来自「一门课程的proj」· C头文件 代码 · 共 27 行

H
27
字号
#pragma once

struct virable_item
{
	string name;
	int type;
	int address;
};
class global
{
public:
	global(void);
	~global(void);

public:
	void push(string, string, int, int);
	void getTop(attribute &);
	void clear();
	void popTop(attribute &);
public:
	vector<virable_item> v_table;
	int offset;
	stack<attribute> att;
	int sentence_num;
	int temp_num;
};

⌨️ 快捷键说明

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