https://github.com/chihebabiza/my-cpp-linked-list
A custom doubly linked list in C++ built using OOP, featuring core operations like insert, delete, update, and reverse. It showcases manual memory handling and class design without using STL.
https://github.com/chihebabiza/my-cpp-linked-list
cpp cpp-library doubly-linked-list oop
Last synced: about 2 months ago
JSON representation
A custom doubly linked list in C++ built using OOP, featuring core operations like insert, delete, update, and reverse. It showcases manual memory handling and class design without using STL.
- Host: GitHub
- URL: https://github.com/chihebabiza/my-cpp-linked-list
- Owner: chihebabiza
- License: mit
- Created: 2025-06-16T10:12:46.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-06-16T10:47:54.000Z (4 months ago)
- Last Synced: 2025-06-16T11:42:48.333Z (4 months ago)
- Topics: cpp, cpp-library, doubly-linked-list, oop
- Language: C++
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 📚 Custom Doubly Linked List in C++
This project is a custom implementation of a **doubly linked list** in **C++**, designed using object-oriented programming (OOP) and templates to support any data type.
---
## 🚀 Features
- Insert at beginning, end, or after a specific node
- Delete first, last, or specific node
- Access elements by index
- Update values
- Reverse the list
- Print the list
- Clear the list
- Check list size and if it's empty
---
## 🛠 How to Use
```cpp
#include "clsDblLinkedList.h"
int main() {
clsDblLinkedList list;
list.InsertAtBeginning(1);
list.InsertAtEnd(5);
list.PrintList(); // Output: 1 5
return 0;
}
````
---
## 🧠 Concepts Applied
* C++ Templates
* Pointers and dynamic memory
* Doubly linked data structure
* Clean class design (OOP)
---
## 📜 License
This project is licensed under the **MIT License**.
You are free to use, modify, and distribute it.
---
## 👨💻 Author
Developed with ❤️ by [Chiheb Abiza](https://github.com/chihebabiza)