# DTLib **Repository Path**: CodingCat_k/dtlib ## Basic Information - **Project Name**: DTLib - **Description**: 这是一个使用C++编写的微型模板库,包含了数组类,链表类,二叉树类等通用数据结构类型,仅适用于教学场景。 - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 42 - **Created**: 2021-10-09 - **Last Updated**: 2022-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DTLib #### 介绍 这是一个使用经典C++编写的微型模板库,包含了数组类,链表类,二叉树类等通用数据结构类型,非常适合于教学和科研场景。 #### 软件架构 ![输入图片说明](DTLib.png) #### Demo ```cpp #include #include "DTLib/DynamicList.h" #include "DTLib/LinkList.h" using namespace DTLib; using namespace std; int main() { cout << "ListDemo(): " << endl; LinkList list; DynamicList dl(50); for(int i=0; i<10; i++) { dl.insert(i/10.0); } dl.remove(5); for(int i=0; i