Skip to content

This C++ console application manages a student database, providing functionalities to add, display, and search for student records. It uses a fixed-size array to store student information and includes basic input validation to ensure correct data entry.

Notifications You must be signed in to change notification settings

Ahmi-pixel/Student-Database-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Student Management System

Description

This is a simple C++ console application designed to manage a student database. It allows users to add new student records, display all student records, and search for students by their ID. The system uses a fixed-size array to store student information, making it suitable for learning purposes and small-scale applications.

Features

  • Add Student: Enter details for a new student including ID, name, and age.
  • Display All Students: View a list of all students currently in the database.
  • Search for Student by ID: Find and display student details based on their ID.
  • Exit: Quit the application.

Components

  • Data Structure: Utilizes a Student struct to hold individual student records.
  • Functions:
    • addStudent(): Adds a new student to the database.
    • displayStudents(): Lists all students.
    • searchStudent(): Searches for a student by ID.
  • Main Menu: Provides a text-based interface for user interaction.

Usage

  1. Compile the Program: Use a C++ compiler to compile the source code.
    g++ -o student_management student_management.cpp

About

This C++ console application manages a student database, providing functionalities to add, display, and search for student records. It uses a fixed-size array to store student information and includes basic input validation to ensure correct data entry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages