随笔分类 - 数据结构
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 typedef int ElemType; 6 typedef struct Queue{ 7 ElemType item;
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 typedef int ElemType; 6 typedef struct Queue{ 7 ElemType *item
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 typedef int ElemType; 6 typedef struct item{ 7 ElemType items;
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 typedef int ElemType; 6 typedef struct stack{ 7 ElemType *item
阅读全文
摘要:1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 #include<ctype.h> 5 #define NAME 20 6 #define SEX 6 7 typedef struct item{ 8 char *nam
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 #define NAME 20//分配空间大小 6 #define SEX 6//分配空间大小 7 typedef stru
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <string.h> 5 #define NAME 20 6 #define SEX 6 7 typedef struct LinkList{ 8 c
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <ctype.h> 4 #include <stdbool.h> 5 #define MAXSIZE 7 6 typedef int ElemType; 7 typedef struct Or
阅读全文
摘要:1 #include<stdio.h> 2 #include<stdlib.h>//malloc 3 #include<stdbool.h> 4 #include<string.h> 5 #include<ctype.h> 6 #define SIZE 12 //姓名字符串大小为12个字符,包含空字
阅读全文
浙公网安备 33010602011771号