- 博客(2)
- 收藏
- 关注
原创 队列的基本操作
头文件 QueueTraverse(Q)#include"ydy.h" #include<stdlib.h> #include<stdio.h> #define MAXQSIZE 100 typedef int QElemType; typedef int Status; typedef struct { QElemType *base; int front; int rear; }SqQueue; Status InitQueue(SqQueue &Q) { .
2022-04-13 20:32:26 130
原创 栈的基本操作,以及判断是否是回文
#define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #include<stdlib.h> #include<stdio.h> #include<malloc.h> #include"ydy.h" #include<iostream> using namespace std; typedef int Elemtype; typedef int Status; typedef struct { Elemt.
2022-04-09 21:13:31 244
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人