Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/142vip/408CSFamily
/ LinkStack
Class
LinkStack
code/ds/LinkStack.cpp:16–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
//链栈的数据结构
16
typedef struct LinkStack
17
{
18
LinkTop top; //栈顶结点,定义了一个指向上个结构体的指针
19
int count;//元素个数
20
}LinkStack;
21
22
23
// 基于单链表链栈的进栈操作
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected