📄 stack.h
字号:
#ifndef _STACK_H
#define _STACK_H
struct Node;
typedef struct Node *PtrToNode;
typedef PtrToNode Stack;
typedef int ElmentType;
struct Node
{
ElmentType Elment;
PtrToNode Next;
};
void MakeEmpty(Stack S);
Stack CreateStack(void);
void Push(ElmentType X,Stack S);
void Pop(Stack S);
ElmentType Top(Stack S);
int IsEmpty(Stack S);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -