Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.79 KB

File metadata and controls

68 lines (41 loc) · 1.79 KB

📘 Course Registration System – C++ Console Program

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.


💡 Core Concepts Used

  • 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.


🧩 Function Overview

🟦 Course-Related Functions

  • AddCourse()
    Adds a new course node to the system.

  • DeleteCourse()
    Deletes a course along with all its enrolled students using DeleteAllStudents().

  • SearchCourse()
    Searches for a specific course based on ID or name.

  • PrintCourse()
    Displays all courses currently available.


🟨 Student-Related Functions

  • 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.


🔁 Utility Function

  • DeleteAllStudents()
    Deletes the entire student list of a given course (used before deleting a course).