- 博客(1)
- 收藏
- 关注
原创 关于在数据结构中的栈放入结构体
关于在数据结构的栈中放入结构体首先,使用指针引用结构体变量为结构体变量地址->成员名或者(*结构体变量地址).成员名所以typedef struct{int length;int width;} RectangleType;typedef RectangleType DataType;typedef struct{DataType* stack[MaxStackSize];int top;} SeqStack;void StackInitiate(SeqStack*
2021-04-05 22:49:17 484
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人