- 博客(12)
- 收藏
- 关注
原创 树莓派微雪屏的开机装系统------ 最简单
1.先开始把所有东西都连上通电 主板上红灯亮 说明通电了 2.再拿一张8g或者以上的内存卡 去官网下载系统 https://www.raspberrypi.org/downloads/ 第一个是通过迅雷下载的比较快,我用的是谷歌浏览器翻译成中文 找到文件解压 第一个就是解压成镜像 3.把内存卡插上 现在两个软件 一个是将内存卡的格式化,一定要选择 ...
2019-03-16 09:53:39
473
原创 huffman数据结构书上的
#include /* INT_MAX等 */ #include /* EOF(=^Z或F6),NULL */ #include #include #define MAX 100 typedef struct{ unsigned int weight; unsigned int parent,lchild,rchild; }HTNode,*HuffmanTree; /* 动态分
2017-11-23 08:31:00
454
原创 二叉树的中序线索化
注释有什么地方搞错了 欢迎大佬们指出!谢谢了!数据结构书上的二叉树的中序线索化 ! #include #include typedef char ElemType; typedef enum{ Link,Thread} PointerTag;//枚举类型 //线索存储标志位 Link==0是指向左右孩子的指针,thread==1是前驱后驱的线索 typedef struct BiTNo
2017-10-30 18:03:24
700
翻译 C++的广义表创建和输出
#include #include #include using namespace std; typedef char ElementType; typedef struct BiTreeNode { ElementType data; struct BiTreeNode* lchild;
2017-10-29 17:31:30
1053
原创 C语言遍历二叉树的递归调用操作集
#include #include #include typedef int ElemType; typedef struct BiTNode { ElemType data; struct BiTNode* lchild; struct BiTNode* rchild; }BiTNode, *BiTree
2017-10-29 13:46:21
390
原创 C语言数据结构顺序存储字符串
#include #include #include #define TRUE 1 #define FALSE -1 #define M 255 #define ERROR 0 #define OK 1 typedef int Status; typedef unsigned char SString[M+1]; void createstring(SStrin
2017-10-27 23:02:58
1447
1
原创 C语言数据结构循环队列的操作集
#include #include #define M 100 typedef int ElemType; typedef struct{ ElemType *base; int front; int rear; }SqQueue; void createqueue(SqQueue &Q,ElemType n) { int i; Q.base=(ElemType *
2017-10-25 22:31:40
2011
原创 C语言数据结构单链队列的操作集
#include #include typedef int ElemType; typedef struct QNode{ ElemType data; struct QNode *next; }QNode,*queueptr; typedef struct{ queueptr front; queueptr rear; }linkqueue; void
2017-10-25 22:30:13
394
原创 C语言数据结构栈的操作集
#include #include #define OVERFLOW -2 #define OK 1 #define ERROR -1 #define FALSE 0 #define M 100 #define m 10 typedef int ElemType; typedef struct{ ElemType *base; ElemType *top; int stac
2017-10-25 22:26:41
313
原创 C语言数据结构双向链表的操作集
#include #include #define ERROR 0 #define OK 1 typedef int ElemType; typedef struct DuLNode{ ElemType data; struct DuLNode *next; struct DuLNode *prior; }DuLNode,*Dulinklist; DuLNode* cr
2017-10-25 22:08:37
370
原创 C语言数据结构的单链表的操作集
#include #include #define ERROR 0 #define OK 1 typedef int ElemType; typedef struct LNode{ ElemType data; struct LNode *next; }LNode,*Linklist; void createlist(Linklist &L,int n) {
2017-10-25 22:07:13
436
原创 C语言数据结构动态线性表的操作集
#include #include #include #define M 100 #define m 10 typedef int ElemType; typedef struct{ ElemType *elem; int length; int listsize; }Sqlist; void Initlist(Sqlist &L) { L.ele
2017-10-25 22:04:08
531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人