3 Star 4 Fork 0

non / c compiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
stack.h 376 Bytes
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
non 提交于 2020-12-10 19:39 . symbol table
#ifndef STACK_H
#define STACK_H
typedef struct SNode{
struct Tree* tree;
int level;
struct SNode* next;
}SNode;
typedef struct Stack{
struct SNode* top;
struct SNode* button;
}Stack;
Stack* createStack();
void freeStack(Stack* s);
// add Tree from top
void push(Stack* s, struct Tree* t, int level);
// pop Tree from top
SNode* pop(Stack* s);
#endif
C
1
https://gitee.com/non925/c-complier.git
git@gitee.com:non925/c-complier.git
non925
c-complier
c compiler
master

搜索帮助