School management system project in C++ with source code (2023)

NoProjectsPosted in31.01.2023Leave a message

School management system project in C++ with source code. This school management system project consists of seven sections, firstly: Create and Modify Admission Criteria, Student Data, Stream Assignment, View Selection Criteria, View Student Stream Assignment, View All Enrolled Students, and Create and view list of achievements.

School management system project in C++ with source code (1)

 #to contain<iostream.h> #to contain<conio.h> #to contain<stdio.h> #to contain<string.h> #to contain<iomanip> #to contain<fstream.h> #to contain<two.h> to use namespaceStandard; Structure criteria_ratings { E Tsc_min,com_min,arte_min,seat_sc,asiento_com,sitting art; }critical; Structure Administrator { Charactersuser name[10]; Characterspassword[10]; }Administrator; Structure Student { CharactersName[20]; E TKingdom,m_esp,m_mathematics,m_sc,m_sst,m_lang; E Tpref_code,Strom; // Sc=1, Com=2; art=3; public: Empty new file(); Empty Input data(); Empty assign_flow(); E T get_stream(); Empty Announcement(); E T show_pro() { volte ((m_esp+m_mathematics+m_sc+m_sst+m_lang) / 5); } }; Empty Welcome(); Empty Menu(); E T confirm password(); Empty assign_user(); Empty Of course(); Empty entry criteria(); Empty reading criteria(); Empty read_student(); Empty create_elegible_sc(); Empty create_eligible_com(); Empty create_elegible_arts(); Empty read_eligible_sc(); Empty read_eligible_com(); Empty read_elegible_arts(); Characters * stream_name(E Tprancing); Empty list_select(Characters *that pasta, Characters *output file); Empty Gracias();Students; in the first place() { // clrscr(); Welcome(); // cout<<"Welcome";fstream fin,incorrect;current fsc,f.com,farts; E Tchoose= 1,CH; while (choose!= 8) { // clrscr(); Of course();cout<< "\n\t====================== MENU PRINCIPAL ===================== = =\n";cout<< "\n\t[1] CREATE/MODIFY ADMISSION CRITERIA (Administrator only)";cout<< "\n\n\t[2] ENTER STUDENT DETAILS ";cout<< "\n\n\t[3] FLOW ASSIGNMENT";cout<< "\n\n\t[4] DISPLAY CRITERIA FOR SELECTION";cout<< "\n\n\t[5] SHOW STUDENT FLOW ASSIGNMENT";cout<< "\n\n\t[6] SHOW ALL REGISTERED STUDENTS";cout<< "\n\n\t[7] CREATE/SHOW LIST OF SERVICES";cout<< "\n\n\t[8] SAIR";cout<< "\n\t============================================= = ============\n";cout<< "\n\n\t\tEnter your choice: ";cine>>choose; to change (choose) { Cair 1: E TPAG; assign_user();PAG= confirm password(); E (PAG== 0) { entry criteria(); } anders {cout<< "\n\tUR is not a valid user.";cout<< "\n\tYou don't have permission to create a question bank. Bye\n\n"; } overalls; Cair 2: E TPossibility; //clrscr();cout<< "\nDo you want to --\n\n\n\n\n\tCreate a new student information file or add it to the existing file?\n\n\t(press 1 to create a new one and 2 to add ) ";cine>>Possibility; E (Possibility== 1) {S.new file(); } anders {S.Input data(); } overalls; Cair 3: //clrscr(); // read_student();fin.Open("Student",ios::No|ios::outside of);fsc.Open("elig_sc",ios::outside of);f.com.Open("eligcom",ios::outside of);farts.Open("to choose",ios::outside of); while (fin.file((Characters * ) &S, size of(S))) {S.assign_flow();S.get_stream(); //si(s.get_stream()==0)cout<< "\nApplication Denied. Ineligible\n"; E (S.get_stream() == 1)fsc.to write((Characters * ) &S, size of(S)); E (S.get_stream() == 2)f.com.to write((Characters * ) &S, size of(S)); E (S.get_stream() == 3)farts.to write((Characters * ) &S, size of(S)); }fin.fence();fsc.fence();f.com.fence();farts.fence();cout<< "\NORTE*******************************";cout<< "\n\n\tTRANSMISSION ASSIGNMENT COMPLETE.";cout<< "\NORTE*******************************"; overalls; Cair 4: reading criteria(); // list();cout<< "\n Esc:" <<critical.sc_min;cout<< "\nGuests: " <<critical.com_min;cout<< "\n Esc:" <<critical.arte_min; overalls; Cair 5:cout<< "\n Enter 1 for Sc, 2 for Com, 3 for Arts: ";cine>>CH; E (CH== 1) read_eligible_sc(); E (CH== 2) read_eligible_com(); E (CH== 3) read_elegible_arts(); overalls; Cair 6: //clrscr(); read_student(); overalls; Cair 7: { CharactersC; E Tk= 1;cout<< "\NORTE****************************";cout<< "\NORTE****************************";cout<< "\n M E R I T L I S T";cout<< "\n ==================";cout<< "\n\tType 1 for FURTHER SCIENCE";cout<< "\n\tType 2 for BUSINESS MERIT LIST";cout<< "\n\tIngrese 3 for MERIT LIST ART \t";cout<< "\NORTE****************************";cout<< "\NORTE****************************";cine>>k; E (k== 1) { list_select("elig_sc", "return_sc");fin.Open("return_sc",ios::No); } E (k== 2) { list_select("eligcom", "verkaufen.com");fin.Open("verkaufen.com",ios::No); } E (k== 3) { list_select("to choose", "Sellart");fin.Open("Sellart",ios::No); } E (k>= 1 &&k<= 3) { while (fin.file((Characters * ) &S, size of(S))) {S.Announcement();cout<< "\n\t Continue (y/n)?";cine>>C; E (C== 'NORTE') overalls; } }fin.fence();fin.fence();fin.fence(); overalls; } Cair 8: Gracias(); // cout<<"\nDANKE BYE"; // output(0); overalls; } } } // END OF DURATION Empty assign_user() { stressful(Administrator.user name, "Rima"); stressful(Administrator.password, "Rima"); } E T confirm password() { CharactersYour name[10]; Charactersu_pwd[10],Temperature[2]; E Tx= 1;cout<< "\n\nEnter the username: ";cine>>Your name;cout<< "\n\nEnter the password: ";cine>>u_pwd;x= strcmp(Administrator.user name,Your name); E (x== 0) {x= strcmp(Administrator.password,u_pwd); }cine.get row(Temperature, 2); volte (x); } EmptyStudent::assign_flow() { E TPro= (m_esp+m_mathematics+m_sc+m_sst+m_lang) / 5; reading criteria(); to change (pref_code) { Cair 1: E (Pro>=critical.sc_min)Strom=pref_code; andersStrom= 0; overalls; Cair 2: E (Pro>=critical.com_min)Strom=pref_code; andersStrom= 0; overalls; Cair 3: E (Pro>=critical.arte_min)Strom=pref_code; andersStrom= 0; overalls; } } E TStudent::get_stream() { volte (Strom); } Empty entry criteria() {transmission error;incorrect.Open("Criteria",ios::No|ios::outside of);cout<< "\nEnter the required grades for the SCIENCE stream (in percentage)";cine>>critical.sc_min;cout<< "\nEnter the number of slots for the SCIENCE stream";cine>>critical.seat_sc;cout<< "\nEnter the necessary qualifications for the TRADE flow (in percentage)";cine>>critical.com_min;cout<< "\nEnter the number of seats for the COMMERCE broadcast";cine>>critical.asiento_com;cout<< "\nEnter the required qualifications for the ARTS stream (in percentage)";cine>>critical.arte_min;cout<< "\nEnter the number of seats for the ARTS broadcast";cine>>critical.sitting art;incorrect.to write((Characters * ) &critical, size of(critical));incorrect.fence(); } Empty reading criteria() {fstream fin;fin.Open("Criteria",ios::No);fin.file((Characters * ) &critical, size of(critical));fin.fence(); } EmptyStudent::Input data() { //clrscr();fstream fin;fin.Open("Student",ios::application|ios::outside of); CharactersT[2],Responder; while (1) {cout<< "\nEnter the student's name: ";cine>>Name;cout<< "\n\nEnter the list of students: ";cine>>Kingdom;cout<< "\n\nType the labels in English: ";cine>>m_esp;cout<< "\n\nEnter your math notes:;cine>>m_mathematics;cout<< "\n\nPlease enter science grades: ";cine>>m_sc;cout<< "\n\nDigite rotulos em sst: ";cine>>m_sst;cout<< "\n\nEnter speech signals: ";cine>>m_lang;cout<< "=========== PREFERRED STREAM?==================\n";cout<< "\T" << "[1] for SCIENCE\n";cout<< "\T" << "[2] for TRADE\n";cout<< "\T" << "[3] for ART";cout<< "\n========================================= = \n \tENTER CODE PREFERABLY: ";cine>>pref_code;Strom= -1;fin.to write((Characters * ) &S, size of(S));cine.get row(T, 2);cout<< "\n\tEnroll more students? (y/n)";cine>>Responder; E (Responder== 'NORTE') overalls; }fin.fence(); } EmptyStudent::new file() { //clrscr();fstream fin;fin.Open("Student",ios::outside of); CharactersT[2],Responder; while (1) {cout<< "\nEnter the student's name: "; receive(Name);cout<< "\n\nEnter the list of students: ";cine>>Kingdom;cout<< "\n\nType the labels in English: ";cine>>m_esp;cout<< "\n\nEnter your math notes:;cine>>m_mathematics;cout<< "\n\nPlease enter science grades: ";cine>>m_sc;cout<< "\n\nDigite rotulos em sst: ";cine>>m_sst;cout<< "\n\nEnter speech signals: ";cine>>m_lang;cout<< "=========== PREFERRED STREAM?==================\n";cout<< "\T" << "[1] for SCIENCE\n";cout<< "\T" << "[2] for TRADE\n";cout<< "\T" << "[3] for ART";cout<< "\n========================================= = \n \tENTER CODE PREFERABLY: ";cine>>pref_code;Strom= -1;fin.to write((Characters * ) &S, size of(S));cine.get row(T, 2);cout<< "\n\tEnroll more students? (y/n)";cine>>Responder; E (Responder== 'NORTE') overalls; }fin.fence(); } EmptyStudent::Announcement() {cout<< "\n===========================================\n";cout<< "\n\tNAME:" <<Name;cout<< "\n\tREGISTRATION NUMBER: " <<Kingdom;cout<< "\n\tPERCENTAGE OF GRADES: " << ((m_esp+m_mathematics+m_sc+m_sst+m_lang) / 5) << "%";cout<< "\n\tSTREAM ADVERTISED: " << stream_name(pref_code); // cout<<"\n\tASSIGNED STREAM: "<<stream_name(stream);cout<< "\n===========================================\n"; } Empty read_student() {fstream fin; CharactersC;fin.Open("Student",ios::No); while (fin.file((Characters * ) &S, size of(S))) {S.Announcement();cout<< "\n\tPress any number to continue";cine>>C;cout<< "\NORTE"; }fin.fence(); } Empty read_eligible_sc() { CharactersResponder;transmission error;incorrect.Open("elig_sc",ios::No);incorrect.as(0); while (incorrect.file((Characters * ) &S, size of(S))) {S.Announcement();cout<< "\n\t Continue (y/n)?";cine>>Responder; E (Responder== 'NORTE') overalls; }incorrect.fence(); } Empty read_eligible_com() { CharactersResponder;transmission error;incorrect.Open("eligcom",ios::No); while (incorrect.file((Characters * ) &S, size of(S))) {S.Announcement();cout<< "\n\t Continue (y/n)?";cine>>Responder; E (Responder== 'NORTE') overalls; }incorrect.fence(); } Empty read_elegible_arts() { CharactersResponder;transmission error;incorrect.Open("to choose",ios::No); while (incorrect.file((Characters * ) &S, size of(S))) {S.Announcement();cout<< "\n\t Continue (y/n)?";cine>>Responder; E (Responder== 'NORTE') overalls; }incorrect.fence(); } Empty Of course() { // para(int i=1;i< =24;i++) // cout<<"\n"; } Characters * stream_name(E Tprancing) { to change (prancing) { Cair -1: volte ("Not Assigned"); // overalls; Cair 0: volte ("Null"); // overalls; Cair 1: volte ("Science"); // overalls; Cair 2: volte ("Haendel"); // overalls; Cair 3: volte ("Art"); // overalls; Standard: volte ("none"); } } Empty list_select(Characters *that pasta, Characters *output file) {fstream-Zelle,fin; E Tnorte= 0,EU,j;student sl[100],T;auto.Open(output file,ios::outside of);fin.Open(that pasta,ios::No); while (fin.file((Characters * ) &SL[norte], size of(S))) {norte++; }cout<< "\nNumber of eligible students = " <<norte<< "\NORTE"; for (EU= 0;EU<norte;EU++) { for (j=EU+ 1;j<=norte;j++) { E (SL[EU].show_pro() <SL[j].show_pro()) {T=SL[j];SL[j] =SL[EU];SL[EU] =T; } } } for (EU= 0;EU<norte;EU++) {auto.to write((Characters * ) &SL[EU], size of(S)); }auto.fence();fin.fence(); } Empty Welcome() { //clrscr(); E Tz;cout<< "\T%% %% ";cout<< "\n\t%% %% %%%%%%% %% %%%%%% %%%%%% %%%% %%%% %%%%%%%";cout<< "\n\t%% %% %% %% %% %% %% %% %%% %% %% ";cout<< "\n\t%% %% %% %%%%% %% %% %% %% %% %%% %% %%%%% ";cout<< "\n\t%% %% %% %% %% %% %% %% %% %% %% ";cout<< "\n\t%%%%%%%%% %%%%%%% %%%%%%% %%%%%% %%%%%% %% %% %%%% %%% ";cout<< "\n\n\t\t\t $$$$$$$$ $$$$$";cout<< "\n\t\t\t $$ $ $";cout<< "\n\t\t\t $$ $$$$$";cout<< "\n\n\n\tCOMPUTER PROJECT (******** IN STREAM ASSIGNMENT ******)";cout<< " \n\n\n\t\t press any number and 'ENTER' to continue: ";cine>>z; // we get(); } Empty Gracias() { E Tc; //clrscr();cout<< "\n\n\n\n\n\n\n\n\n\n\t************ THANKS FOR THE WORK *******";cout<< "\n\n\n\n\n\n\n\t\t\t Press any number and 'ENTER' to exit";cine>>c; }

The Output of C++ School Management System

Homepage

School management system project in C++ with source code (2)

menu principal

School management system project in C++ with source code (3)

Results window and stream

School management system project in C++ with source code (4)

Other C++ projects

  • C++ program for Tic Tac Toe (game project) with source code
  • C++ program for school management system (SMS project) with source code
  • C++ program for HANGMAN (GAME PROJECT) with source code
  • C++ program for casino games: number guessing program (GAME PROJECT)
  • C++ program for student certificates (SRC PROJECT) with source code

More projects in Java


  • Student management system project in Java with several classes
  • Java program for calculators with AWT controls (GUI)
Top Articles
Latest Posts
Article information

Author: Roderick King

Last Updated: 03/08/2023

Views: 5906

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.