Skip to content

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.

License

Notifications You must be signed in to change notification settings

chihebabiza/My-cpp-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š 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

#include "clsDblLinkedList.h"

int main() {
    clsDblLinkedList<int> 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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages