- 博客(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 470
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人