摘要: 部分源码: #include<stdio.h> #include<stdlib.h> #include<string.h> #define M 8 typedef struct{ char data; int weight; int parent,lchlid,rchlid; }HTNode,*Hu 阅读全文
posted @ 2020-01-19 19:25 值南针 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 功能截图: 部分源码,不含main主函数,如需源码可在小程序下载: #include<stdio.h> #include<string.h> #define M 255 #define OK 1 #define ERROR 0 typedef char Str[M+1]; int StrAssign 阅读全文
posted @ 2020-01-19 19:21 值南针 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 功能截图: 部分源码,没有main主函数: #include <stdio.h> #include <stdlib.h> typedef struct List { int data; struct List *next; }list,*p_list; void creat_list(list ** 阅读全文
posted @ 2020-01-19 19:16 值南针 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 功能截图: 部分源码: #include<stdio.h> // EOF(=^Z或F6),NULL #include<stdlib.h> // srand( ) ,rand( ),exit(n) #include<iostream> using namespace std; #define TRUE 阅读全文
posted @ 2020-01-19 19:10 值南针 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 代码功能截图: 部分源码: #include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 typedef int ElemType; typedef struct { ElemType a[MAXSIZE]; int length; }SqList; 阅读全文
posted @ 2020-01-19 18:51 值南针 阅读(2081) 评论(0) 推荐(1) 编辑
摘要: 代码功能截图: 源代码: #include<stdio.h> // EOF(=^Z或F6),NULL #include<stdlib.h> // srand( ) ,rand( ),exit(n) #include<iostream> using namespace std; #define TRU 阅读全文
posted @ 2020-01-19 18:41 值南针 阅读(534) 评论(0) 推荐(0) 编辑