🎓 Student Record Management System using Linked Lists in C++
This project implements a menu-driven student management system using four different types of linked lists in C++. It allows operations like inserting, deleting, searching, and displaying student records in various linked list structures.
📑 Table of Contents
- Project Overview](#-project-overview)
- Implemented Data Structures](#-implemented-data-structures)
- Linked List Types – Explained](#-linked-list-types--explained)
- Functionalities](#️-functionalities)
- How to Compile and Run (Theory)](#️-how-to-compile-and-run-theory)
- How to Compile and Run (Commands)](#-how-to-compile-and-run-commands)
- Menu Options](#-menu-options)
- Sample Output](#-sample-output)
- License](#-license)
- Contributions](#-contributions)
- ✅ Singly Linked List
- Nodes connected in one direction using next
- One-way traversal
- ✅ Doubly Linked List (DLL)
- Each node has prev and next
- Two-way traversal
- Linear (ends at NULL)
- ✅ Circular Singly Linked List (CSLL)
- next of last node points to first node
- One-way circular traversal
- ✅ Circular Doubly Linked List (CDLL)
- Nodes have prev and next
- next of last points to head, prev of head points to last
- Two-way circular traversal
- Nodes connected in one direction using next
- One-way traversal
- Each node has prev and next
- Two-way traversal
- Linear (ends at NULL)
- next of last node points to first node
- One-way circular traversal
- Nodes have prev and next
- next of last points to head, prev of head points to last
- Two-way circular traversal
How to Compile and Run a C++ Program (Theoretical Explanation) Before executing a C++ program, it must go through two main steps: compilation and execution. Here's how each step works conceptually:
🔹 1. Writing the Source Code You begin by writing your program using the C++ programming language.
This code is saved in a file with a .cpp extension (e.g., linked_list.cpp).
The source code contains logic, data structures (like linked lists), and instructions for the program.
🔹 2. Compilation The source code must be converted into machine code that your computer can understand.
This is done using a C++ compiler.
The compiler reads the .cpp file and checks for syntax errors.
If there are no errors, it generates an executable file (a program that can be run directly).
📌 Menu Example
- Insert at beginning
- Insert at end
- Insert at position
- Delete from beginning
- Delete from end
- Delete from position
- Search for element
- Display
- Exit