A collection of extended C container libraries based on the C11 standard, including common data structures such as static arrays, dynamic arrays, stacks, queues, dynamic linked lists, and general binary trees. Suitable for beginners learning C/C++.
This library is a personal project for learning data structures and may have problems and shortcomings.
The author welcomes you to ask questions or provide suggestions in Discussions or Issues to help improve this project.
Note:
For users viewing this repository on Gitee, you can go to Issues to ask questions or provide suggestions.
- C extension library with C11 support.
- Various container implementations are provided, such as static arrays, dynamic arrays, stacks, queues, etc.
- Support storage and manipulation of variables of any type.
Visit the Quick Start page to get started with this library quickly.
Visit the APIs page to view all supported APIs.
| Container Name | Completion Progress | Description |
|---|---|---|
| CArray | 85% | Static array |
| CVector | 90% | Dynamic array |
| CString | 85% | String |
| CStack | 75% | Stack (Based on CVector) |
| CDeque | 75% | Queue (Based on CVector) |
| CLinkedList | 80% | Linked List |
| CTree | In Progress | General binary tree |
- CMap: Key-value mapping table
- CSet: Collection set
- Almost no comments have been added to the code in this project. If you have difficulty reading the code, please use this Wiki together.
- Feel free to ask questions or provide suggestions in the Issues to improve the project together.
This project is licensed under the MIT License for licensing. Please read and comply with the license agreement before use.