摘要: typedef struct Stack_T { int *stk; // 也可以用固定值 int cnt; } Stack_S; Stack_S g_stack = {0}; void StackInit(int size) { g_stack.cnt = 0; g_stack.stk = (in 阅读全文
posted @ 2020-11-30 20:23 cheshulin 阅读(41) 评论(0) 推荐(0)
摘要: typedef struct Que_T { int head; int rear; int size; Graph_S *que[10000]; } Que_S; Que_S g_que; void QueInit() { g_que.head = 0; g_que.rear = 0; g_que 阅读全文
posted @ 2020-11-30 19:31 cheshulin 阅读(42) 评论(0) 推荐(0)