![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
愚公移大山
脚踏实地的往前走,就像愚公移山一样。
展开
-
【数据结构】表之顺序表
1.表分类顺序结构链式结构2.本文讲解顺序表创建顺序表```#include <iostream>#include <malloc.h>using namespace std;#define MAXSIZE 50typedef int ElemType;typedef struct{ ElemType data[MAXSIZE]; int length;}Sq原创 2016-05-15 12:31:57 · 505 阅读 · 0 评论 -
【数据结构】表之链表
1.单链表的几大功能【1】头插法创建 【2】尾插法创建 【3】显示 【4】销毁2.见程序#include <iostream>#include <malloc.h>using namespace std;typedef int ElemType;typedef struct Lnode{ ElemType data; struct Lnode *next;}LinkL原创 2016-05-15 16:35:31 · 272 阅读 · 0 评论