上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include typedef int ElemType;typedef struct Node{ int row, col; ElemType data; ... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(60) 评论(0) 推荐(0)
摘要: 直接编译运行即可 #include using namespace std;#define PI 3.14159265void menu(){ printf("******** 转化器 ************\n"); printf(... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(134) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include #include typedef struct _Triple{ int i; int j; int e;}Triple;typedef... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(49) 评论(0) 推荐(0)
摘要: #include #include #include typedef struct TreeNode{ char data; struct TreeNode *LChild, *RChild;}TreeNode;void Create(Tre... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(42) 评论(0) 推荐(0)
摘要: 需要注意的点:在创建二叉树的函数中,如果len1==len2==0,一定要把(*T)置为NULL然后退出循环 #include #include #include typedef struct TreeNode{ char data; str... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(39) 评论(0) 推荐(0)
摘要: 题解 这道题目说的很诡异,其实没有什么把括号补上。。。。仅仅是先序读入,然后中序输出就行了 代码 #include #include #include typedef struct TreeNode{ char data; struct Tr... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(73) 评论(0) 推荐(0)
摘要: ​ 代码 代码 #include #include #include typedef struct ArcNode{ int to; struct ArcNode *next; int w;}ArcNode;typedef struct... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(35) 评论(0) 推荐(0)
摘要: 目录 代码 代码 #include #include #include typedef struct ArcNode{ int to; struct ArcNode *next; int w;}ArcNode;typedef ... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(32) 评论(0) 推荐(0)
摘要: 图的存储结构大赏------数据结构C语言(图) 本次所讲的是常有的四种结构: 邻接矩阵邻接表十字链表邻接多重表 邻接矩阵 概念 两... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(142) 评论(0) 推荐(0)
摘要: #include#include #include //我这里的头以及尾巴与书上的不一样。typedef struct ArcNode{ int from, to; struct ArcNode * fnext, *tonext; int... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(62) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页