摘要: //测试结点abd###ce##f###include<stdio.h>#include<stdlib.h>#include<string.h>#define MAXLENGTH 30typedef struct Binode{ char data; struct Binode *lchild; s 阅读全文
posted @ 2017-11-13 22:28 Saruka的男朋友 阅读(143) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<stdlib.h>#define MAXLEN 100typedef struct{ char * vec; int length;}str; int StrLength(char* obj){//求串长 int i=0,n=0; while(ob 阅读全文
posted @ 2017-11-13 22:27 Saruka的男朋友 阅读(174) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<stdlib.h>#define MAX_SIZE 100typedef struct{ int data[MAX_SIZE]; int front; int rear;}SeqQueue; void InitQueue(SeqQueue *Q){ 阅读全文
posted @ 2017-11-13 22:26 Saruka的男朋友 阅读(153) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<stdlib.h>#define stack_initSize 100#define stack_incrementSize 10typedef struct{ int * stackdata; int top; int stacksize;}se 阅读全文
posted @ 2017-11-13 22:25 Saruka的男朋友 阅读(122) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <string.h>#include <stdlib.h>static struct stuNode *head=NULL;struct stuNode { char num[16]; char name[8]; char age[4]; str 阅读全文
posted @ 2017-11-13 22:24 Saruka的男朋友 阅读(103) 评论(0) 推荐(0)
摘要: #include<stdio.h>#include<string.h>#include<malloc.h>#include<stdlib.h>#define Max_SeqList 10 typedef struct{ int num; }Student; typedef struct{ Stude 阅读全文
posted @ 2017-11-13 22:22 Saruka的男朋友 阅读(105) 评论(0) 推荐(0)