08 2012 档案
摘要:实现了顺序存储结构的二叉树和队列的基本操作,以下是相关函数及类型的声明#include <stdio.h>#include <stdlib.h>#include <string.h>#include <malloc.h> #include <math.h>#define TRUE 1#define FALSE 0#define OK 1#define ERROR 0#define MAX_TREE_SIZE 100#define MAX_QUEUE_SIZE 5#define Nil ' ' typedef char
阅读全文
摘要:1 #include <stdio.h> 2 #include <malloc.h> 3 #define LEN sizeof(struct student) 4 5 /*----------------数据定义----------------------*/ 6 7 //定义一个学生信息的结构体,包括学号,姓名和结构体类型的指针 8 struct student 9 { 10 long num; //学号 11 char name[128]; //姓名 12 struct studen...
阅读全文
浙公网安备 33010602011771号