Student Management System using C++ With Source Code
Introduction :
This is a student record management system project, which enables you to create, read, modify, and delete student Records. This project is developed using the programming language C++.
Student Management system is a management information system for education to manage students’ data. It includes the idea of topics like structure, loops, arrays, if-else, switch, and so on. It helps the user to store student data and make changes to it such as Show, Update, Delete, and Search. The features of C++ programming language help here to manage data and apply logic to the programs.
Source Code:
//PROJECT: Student Record Management System using C++
//Written by Nikhil
#include
using namespace std;
string roll_no[30],name[30],Class[30],course[30],mobile_no[30],admission_year[30];
//arrays for storing students data.
int total=0; //to store all data
void enter()
{
int ch=0;
cout<<"How many students do u want to enter??"<>ch;
if(total==0)
{
total=ch+total;
for(int i=0;i>roll_no[i];
cout<<"Enter Name: "<>name[i];
cout<<"Enter Class: "<>Class[i];
cout<<"Enter Course: "<>course[i];
cout<<"Enter Mobile NO: "<>mobile_no[i];
cout<<"Enter Admission Year: "<>admission_year[i];
}
}
else
{
for(int i=total;i>roll_no[i];
cout<<"Enter Name: ";
cin>>name[i];
cout<<"Enter Class: ";
cin>>Class[i];
cout<<"Enter Course: ";
cin>>course[i];
cout<<"Enter Mobile NO: ";
cin>>mobile_no[i];
cout<<"Enter Admission Year: ";
cin>>admission_year[i];
}
total=ch+total; //making choice
}
}
void show()
{
if(total==0)
{
cout<<"No Data is Entered"<>rollno;
for(int i=0;i>rollno;
for(int i=0;i>roll_no[i];
cout<<"Enter Name: ";
cin>>name[i];
cout<<"Enter Class: ";
cin>>Class[i];
cout<<"Enter Course: ";
cin>>course[i];
cout<<"Enter Mobile NO: ";
cin>>mobile_no[i];
cout<<"Enter Admission Year: ";
cin>>admission_year[i];
}
}
}
}
void Delete()
{
if(total==0)
{
cout<<"No data is entered yet"<>a;
if(a==1)
{
total=0;
cout<<"All record is deleted..!!"<>value;
switch(value)
{
case 1:
enter();
break;
case 2:
show();
break;
case 3:
search();
break;
case 4:
update();
break;
case 5:
Delete();
break;
case 6:
exit(0);
break;
default:
cout<<"Invalid input"<
Output:
Find More Projects
Build a Quiz Game Using HTML CSS and JavaScript Introduction Hello coders, you might have played various games, but were you aware …
Emoji Catcher Game Using HTML CSS and JavaScript Introduction Hello Coders, Welcome to another new blog. In this article we’ve made a …
Typing Challenge Using HTML CSS and JavaScript Introduction Hello friends, all you developer friends are welcome to our new project. If you …
Breakout Game Using HTML CSS and JavaScript With Source Code Introduction Hello friends, welcome to today’s new blog post. All of you …
Digital and Analog Clock using HTML CSS and JavaScript Introduction : This project is a digital clock and stopwatch system, which allows …
Coffee Shop Website using HTML, CSS & JavaScript Introduction : This project is a website for coffee house business. It uses HTML …