摘要:
C++实现带头结点的静态链表 #ifndef STATICLIST_H #define STATICLIST_H #include <cassert> #include <iostream> using namespace std; ///带头结点的静态链表 const int defaultSiz 阅读全文
摘要:
(Ⅰ) 顺序表实现相加 ①C方法(很简单的对应相加。。 #include <iostream> #include <stdlib.h> using namespace std; typedef struct PolyNode *Poly; struct PolyNode { int a; int n 阅读全文
摘要:
①C++实现循环链表(带头节点) #include <iostream> #include <cassert> //文件操作 #include <fstream> //对文件进行操作 ///有头结点的循环链表 using namespace std; //枚举:第一个成员默认为0,后面依次+1 en 阅读全文