This program demonstrates a simple course registration system using multi-linked lists in C++. It helped us understand how data can be linked and accessed using multiple pointers across different structures like courses and enrolled students.
The project focuses purely on Data Structures (specifically multi-linked lists) and function-based modular programming without file handling or OOP.
-
Multi-Linked Lists:
Each course maintains a separate linked list of students enrolled in it. -
Dynamic Memory Management:
Nodes (courses/students) are created and deleted during runtime using pointers. -
Function-based Structure:
Code is divided into reusable modular functions for each task.
-
AddCourse()
Adds a new course node to the system. -
DeleteCourse()
Deletes a course along with all its enrolled students usingDeleteAllStudents()
. -
SearchCourse()
Searches for a specific course based on ID or name. -
PrintCourse()
Displays all courses currently available.
-
AddStudent()
Adds a student under a selected course. -
DeleteStudentfromCourse()
Deletes a specific student from a course. -
DeleteStudentCompletely()
Deletes a student from all courses (if enrolled in more than one). -
SearchStudent()
Finds a student in a specific course. -
FullSearchStudent()
Searches for a student across all courses. -
PrintStudent()
Prints student details with course linkage.
DeleteAllStudents()
Deletes the entire student list of a given course (used before deleting a course).