//循环队列#include <stdio.h>#include <stdlib.h>#define MAXSIZE 20typedef struct { int *base; int rear; int front;}SqQueue;void Instructions(void){ printf("Enter your choice:\n" "1、Insert an element to the Queue\n" "2、Delete an element from the Queue\n" "3、End\n");}v...
//稀疏矩阵
#include <stdio.h>#include <stdlib.h>#include <time.h>#define MAXSIZE 100#define ELEMTYPE inttypedef struct { int i,j; ELEMTYPE elem;}Triple;typedef struct{ Triple data[MAXSIZE+1]; int rcount,ccount,counter;}TSMatrix;void Display(TSMatrix M){ int temp; printf("********...