{"id":2442,"date":"2022-01-01T09:00:02","date_gmt":"2022-01-01T03:30:02","guid":{"rendered":"http:\/\/myprojectideas.com\/?p=2442"},"modified":"2025-11-03T11:37:11","modified_gmt":"2025-11-03T11:37:11","slug":"how-to-make-student-record-system-in-c-c-project","status":"publish","type":"post","link":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/","title":{"rendered":"How To Make Student Record System in C++ | C++ Project"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">This article will help you to make a student record system project in C++. The project discussed in this article is designed to manage the student\u2019s records related to their report cards. It is a straightforward C++ project for beginners to understand programming concepts by implementing such valuable projects. It includes the idea of following topics like s<\/span><span style=\"font-weight: 400;\">tructure, loops, arrays, if-else, switch, and so on. So hopefully, after creating this project, your basic C++ concepts will be clear.<\/span><\/p>\n<iframe loading=\"lazy\"  id=\"_ytid_52361\"  width=\"1080\" height=\"607\"  data-origwidth=\"1080\" data-origheight=\"607\" src=\"https:\/\/www.youtube.com\/embed\/qE4MgndQKwM?enablejsapi=1&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&rel=1&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<p>&nbsp;<\/p>\n<h2><strong>Objectives<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">The Student Record System Project in C++ is beneficial because managing big data is impossible manually. Thus, applications like this are very beneficial and are developed with the following objectives:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">To improve the management of student enrolment<\/span><\/li>\n<li><span style=\"font-weight: 400;\">For Centralized management of bills and accounts<\/span><\/li>\n<li><span style=\"font-weight: 400;\">To efficiently manage all activities related to students.<\/span><\/li>\n<\/ul>\n<h2><strong>Requirements<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">To run this project, you must have installed IDE for running and compiling the C++ source code. We recommend Dev C++ or Code Blocks for a better experience.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Refer to the links below to download the Dev C++ or Code Blocks IDE.<\/span><\/p>\n<p><a href=\"https:\/\/sourceforge.net\/projects\/embarcadero-devcpp\/\"><span style=\"font-weight: 400;\">https:\/\/sourceforge.net\/projects\/embarcadero-devcpp\/<\/span><\/a><\/p>\n<p><a href=\"https:\/\/sourceforge.net\/projects\/codeblocks\/\">https:\/\/sourceforge.net\/projects\/codeblocks\/<\/a><\/p>\n<h2><b>Source Code<\/b><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">#include &lt;iostream&gt;\r\n#include&lt;fstream&gt;\r\n#include&lt;windows.h&gt;\r\nusing namespace std;\r\nstruct student\r\n{\r\nchar name[80];\r\nchar id[80];\r\nint roll;\r\nfloat pro,arc,writing,alg,sum,average;\r\n};\r\nvoid intro();\r\nvoid mainmenu();\r\nvoid acceptdata();\r\nvoid view_Specific(int);\r\nvoid viewall();\r\nvoid result(int);\r\nvoid deleterecord(int);\r\nvoid modify(int);\r\n\r\nint main()\r\n{\r\n    system(\"color a\");\r\n    char c;\r\n    system(\"cls\");\r\n    intro();\r\n\r\n    do{\r\n   system(\"cls\");\r\n   system(\"color e\");\r\n   cout&lt;&lt;\"\\n\\n\";\r\n   cout&lt;&lt;\"\\t====================STUDENT REPORT CARD MANEGEMENT SYSTEM====================\"&lt;&lt;endl;\r\n   cout&lt;&lt;endl;\r\n   cout&lt;&lt;\"\\t\\t\\t\\t1. MAIN MENU\\n\\n\";\r\n   cout&lt;&lt;\"\\t\\t\\t\\t2. EXIT\\n\\n\";\r\n   cout&lt;&lt;\"ENTER YOUR CHOICE :\";\r\n   cin&gt;&gt;c;\r\n   system(\"cls\");\r\n   switch(c)\r\n   {\r\n   case '1':\r\n    {\r\n        mainmenu();\r\n        break;\r\n    }\r\n   case '2':\r\n    {          cout &lt;&lt; \"\\t\\t     THANK YOU FOR USING THIS SOFTWARE\"&lt;&lt;endl;\r\n\r\n        cout &lt;&lt; \"\\n\\n\";\r\n             cout&lt;&lt;\"\\t   GROUP MEMBERS(DEVELOPERS)\";\r\n             cout &lt;&lt; \"\\n\\n\";\r\n             cout &lt;&lt; \"\\t   NAME                               ID                 PHONE NUMBER \\n\\n\";\r\n             cout &lt;&lt; \"\\t   1. BIRUK ABERE                 GUE\/01182\/11          +251974461688   \\n\\n\";\r\n             cout &lt;&lt; \"\\t   2. YONATAN MELESE              GUE\/01446\/11          +251926489069    \\n\\n\";\r\n             cout &lt;&lt; \"\\t   3. AMANUEL CHALACHEW           GUE\/01479\/11          +251941257770     \\n\\n\";\r\n             cout &lt;&lt; \"\\t   4. BINIYAM YOSEF               GUE\/01480\/11          +251946230602      \\n\\n\";\r\n             cout &lt;&lt; \"\\t   5. ABEL WONDMU                 GUE\/01424\/11          +251965311410       \\n\\n\";\r\n              cout &lt;&lt; \"\\n\\n\";\r\n             cout&lt;&lt;\"\\t\\t\\t\\t\\t\\t\\t\\t\\t   SUBMITED TO:   KIDIST AMDE\\n\";\r\n             cout&lt;&lt;\"\\t\\t\\t\\t\\t\\t\\t\\t\\t   SUBMITED DATE: 22\/10\/2011 \";\r\n\r\n              cout &lt;&lt; \"\\n\\n\";\r\n    }\r\n   }\r\n    }while(c!='2');\r\n    return 0;\r\n}\r\nvoid acceptdata()\r\n{\r\n    system(\"cls\");\r\n    student s;\r\n    ofstream outfile;\r\n    outfile.open(\"Report.txt\",ios::app|ios::binary);\r\n    if(outfile.fail())\r\n    {\r\n        cout&lt;&lt;\"THE FILE COULD NOT BE OPEN...press enter key\";\r\n        cin.ignore();\r\n        cin.get();\r\n    }\r\n    cout&lt;&lt;\"\\n\\n\";\r\n    cout&lt;&lt;\"\\t\\t\\t\\t=======CREATE A REPORT CARD========\\n\\n\";\r\n    cout&lt;&lt;\"ENTER YOUR FULL NAME :\";\r\n    cin.ignore();\r\n    cin.getline(s.name,80);\r\n    cout&lt;&lt;\"ENTER YOUR ID NUMBER : GUE\/\";\r\n    cin.ignore();\r\n    cin.get(s.id,80);\r\n    cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n    cin&gt;&gt;s.roll;\r\n    cout&lt;&lt;\"ENTER YOUR PROGRAMMING MARK :\";\r\n    cin&gt;&gt;s.pro;\r\n    cout&lt;&lt;\"ENTER YOUR COMPUTER ARCITECTURE MARK :\";\r\n    cin&gt;&gt;s.arc;\r\n    cout&lt;&lt;\"ENTER YOUR WRITING SKILL MARK :\";\r\n    cin&gt;&gt;s.writing;\r\n    cout&lt;&lt;\"ENTER YOUR ALGEBRA MARK :\";\r\n    cin&gt;&gt;s.alg;\r\n    s.sum=s.pro+s.arc+s.writing+s.alg;\r\n    s.average=(s.sum\/4);\r\n    outfile.write(reinterpret_cast&lt;char *&gt; (&amp;s), sizeof(student));\r\n    outfile.close();\r\n    cout&lt;&lt;endl;\r\n    cout&lt;&lt;\"\\t\\t\\t\\tTHE FILE IS SUCCESSFULLY SAVED\"&lt;&lt;endl;\r\n    cout&lt;&lt;endl;\r\n    cout&lt;&lt;\"press any key to continue...\";\r\n    cin.ignore();\r\n    cin.get();\r\n}\r\n\r\nvoid intro()\r\n\r\n{\r\n\r\n    cout &lt;&lt; \"\\n\\n\\n\";\r\n    Sleep(300);\r\n    cout &lt;&lt; \"\\t\\t\\t\\t * * *  **** *      ****  ***   ***   ****   \" &lt;&lt; endl;\r\n    Sleep(300);\r\n    cout &lt;&lt; \"\\t\\t\\t\\t * * * *     *     *     *   * * * * *        \"&lt;&lt; endl;\r\n    Sleep(300);\r\n    cout &lt;&lt; \"\\t\\t\\t\\t * * * ***** *     *     *   * * * * *****    \" &lt;&lt; endl;\r\n    Sleep(300);\r\n    cout &lt;&lt; \"\\t\\t\\t\\t * * * *     *     *     *   * * * * *         \" &lt;&lt; endl;\r\n    Sleep(300);\r\n    cout &lt;&lt; \"\\t\\t\\t\\t  ***   **** *****  ****  ***  * * *  ****     \" &lt;&lt; endl;\r\n    Sleep(300);\r\n    cout&lt;&lt;endl;\r\n    cout&lt;&lt;\"\\t\\t\\t\\t=============================================\"&lt;&lt;endl;\r\n    Sleep(500);\r\n    cout&lt;&lt;\"\\t\\t\\t\\tTHIS IS STUDENT REPORT CARD MANEGEMENT SYSTEM\"&lt;&lt;endl;\r\n    Sleep(500);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t=============================================\"&lt;&lt;endl;\r\n    Sleep(500);\r\n    cout&lt;&lt;\"press any key to continue...\";\r\n    cin.ignore();\r\n    cin.get();\r\n}\r\n\r\nvoid mainmenu()\r\n\r\n{\r\n    system(\"color c\");\r\n    char cc;\r\n    cout&lt;&lt;\"\\t\\t\\t\\t=================MAIN MENU================\\n\\n\"&lt;&lt;endl;\r\n    Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t1. CREATE STUDENT REPORT CARD\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t2. VIEW ALL STUDENTs REPORT CARD\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t3. VIEW A SINGLE STUDENT REPORT CARD\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t4. MODIFY REPORT CARD\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t5. RESULT\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n     cout&lt;&lt;\"\\t\\t\\t\\t6. DELETE RECORD\\n\\n\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\t==============================\"&lt;&lt;endl;\r\n     Sleep(300);\r\n    cout&lt;&lt;\"\\t\\t\\t\\tENTER YOUR CHOICE...:) &lt;1-6&gt; :\";\r\n     Sleep(300);\r\n    cin&gt;&gt;cc;\r\n    cout&lt;&lt;endl;\r\n    switch(cc)\r\n    {\r\n    case '1':\r\n        {\r\n            acceptdata();\r\n            break;\r\n        }\r\n    case '2':\r\n        {\r\n            viewall();\r\n            break;\r\n        }\r\n    case '3':\r\n          {\r\n              int n;\r\n              cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n              cin&gt;&gt;n;\r\n              view_Specific(n);\r\n              break;\r\n          }\r\n    case '4':\r\n        {\r\n            int n;\r\n            cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n            cin&gt;&gt;n;\r\n            modify(n);\r\n            break;\r\n        }\r\n\r\n    case '5':\r\n        {\r\n            int n;\r\n            cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n            cin&gt;&gt;n;\r\n            cout&lt;&lt;endl;\r\n            result(n);\r\n            break;\r\n        }\r\n    case '6':\r\n        {\r\n            int n;\r\n            cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n            cin&gt;&gt;n;\r\n            cout&lt;&lt;endl;\r\n            deleterecord(n);\r\n            break;\r\n        }\r\n    }\r\n}\r\n\r\nvoid viewall()\r\n\r\n{\r\n    system(\"cls\");\r\n    student s;\r\n    ifstream infile;\r\n    bool check=false;\r\n    infile.open(\"Report.txt\",ios::app|ios::binary);\r\n    if(infile.fail())\r\n    {\r\n        cout&lt;&lt;\"THE FILE COULD NOT BE OPENED.....press enter key...\";\r\n        cin.ignore();\r\n        cin.get();\r\n    }\r\n     cout&lt;&lt;\"\\n\\n\";\r\n     cout&lt;&lt;\"\\t\\t\\t\\tALL STUDENTS REPORT CARDS\"&lt;&lt;endl;\r\n     cout&lt;&lt;\"==================================================================================\"&lt;&lt;endl;\r\n    while(infile.read(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student)))\r\n    {\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT NAME :\"&lt;&lt;s.name&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ID NUMBER :GUE\/\"&lt;&lt;s.id&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ROLL NUMBER :\"&lt;&lt;s.roll&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tPROGRAMMING MARK :\"&lt;&lt;s.pro&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tCOMPUTER ARCITECTURE MARK :\"&lt;&lt;s.arc&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tWRITING SKILL MARK :\"&lt;&lt;s.writing&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tALGEBRA MARK :\"&lt;&lt;s.alg&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSUM :\"&lt;&lt;s.sum&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tAVERAGE :\"&lt;&lt;s.average&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"==================================================================================\"&lt;&lt;endl;\r\n        check=true;\r\n    }\r\n    infile.close();\r\n    if(check==false)\r\n    cout&lt;&lt;\"\\t\\t\\t\\tNO RECORD FOUND...\"&lt;&lt;endl&lt;&lt;endl;\r\n    cout&lt;&lt;\"press any key to continue....\";\r\n    cin.ignore();\r\n    cin.get();\r\n}\r\n\r\nvoid view_Specific(int n)\r\n\r\n{\r\n    system(\"cls\");\r\n    student s;\r\n    ifstream infile;\r\n    infile.open(\"Report.txt\",ios::app|ios::binary);\r\n    if(infile.fail())\r\n    {\r\n        cout&lt;&lt;\"THE FILE COULD NOT BE OPENED...\";\r\n\r\n        cin.ignore();\r\n        cin.get();\r\n    }\r\n    bool equality=false;\r\n    cout&lt;&lt;\"\\t\\t\\t\\t==========VIEW A SINGLE STUDENT REPORT==========\\n\\n\";\r\n    while(infile.read(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student)))\r\n    {\r\n        if(s.roll==n)\r\n        {\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT NAME :\"&lt;&lt;s.name&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ID NUMBER :GUE\/\"&lt;&lt;s.id&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ROLL NUMBER :\"&lt;&lt;s.roll&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tPROGRAMMING MARK :\"&lt;&lt;s.pro&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tCOMPUTER ARCITECTURE MARK :\"&lt;&lt;s.arc&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tWRITING SKILL MARK :\"&lt;&lt;s.writing&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tALGEBRA MARK :\"&lt;&lt;s.alg&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSUM :\"&lt;&lt;s.sum&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tAVERAGE :\"&lt;&lt;s.average&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\t================================================\"&lt;&lt;endl;\r\n        equality=true;\r\n        }\r\n    }\r\n        infile.close();\r\n        if(equality==false)\r\n            cout&lt;&lt;\"\\t\\t\\t\\tRECORD NOT FOUND...\"&lt;&lt;endl;\r\n            cout&lt;&lt;endl;\r\n            cout&lt;&lt;\"press any key to continue...\";\r\n            cin.ignore();\r\n            cin.get();\r\n}\r\n\r\nvoid result(int n)\r\n\r\n{\r\n    system(\"cls\");\r\n    student s;\r\n    ifstream infile;\r\n    infile.open(\"Report.txt\",ios::app|ios::binary);\r\n    if(infile.fail())\r\n    {\r\n        cout&lt;&lt;\"THE FILE COULD NOT BE OPENED...\"&lt;&lt;endl;\r\n        cin.ignore();\r\n        cin.get();\r\n    }\r\n    bool eq=false;\r\n    cout&lt;&lt;\"\\t\\t\\t\\t===========VIEW A SINGLE STUDENT RESULT==========\\n\\n\";\r\n    while(infile.read(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student)))\r\n    {\r\n        if(s.roll==n)\r\n        {\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT NAME :\"&lt;&lt;s.name&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tPROGRAMMING MARK :\"&lt;&lt;s.pro&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tCOMPUTER ARCITECTURE MARK :\"&lt;&lt;s.arc&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tWRITING SKILL MARK :\"&lt;&lt;s.writing&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tALGEBRA MARK :\"&lt;&lt;s.alg&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSUM :\"&lt;&lt;s.sum&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tAVERAGE :\"&lt;&lt;s.average&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\t==================================================\"&lt;&lt;endl;\r\n        eq=true;\r\n        }\r\n    }\r\n        infile.close();\r\n        if(eq==false)\r\n            cout&lt;&lt;\"\\t\\t\\t\\tRECORD NOT FOUND...\"&lt;&lt;endl;\r\n            cout&lt;&lt;endl;\r\n            cout&lt;&lt;\"press any key to continue...\";\r\n            cin.ignore();\r\n            cin.get();\r\n}\r\n\r\nvoid modify(int n)\r\n\r\n{\r\n    system(\"cls\");\r\n    student s;\r\n    fstream infile;\r\n    infile.open(\"Report.txt\",ios::binary|ios::in|ios::out);\r\n    if(infile.fail())\r\n    {\r\n        cout&lt;&lt;\"THE FILE COULD NOT BE OPENED...\"&lt;&lt;endl;\r\n        cin.ignore();\r\n        cin.get();\r\n    }\r\n     bool checker=false;\r\n     cout&lt;&lt;\"\\t\\t\\t\\t==========MODIFY A REPORT CARD==========\\n\\n\";\r\n     while(!infile.eof() &amp;&amp; checker==false)\r\n     {\r\n     infile.read(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student));\r\n     {\r\n         if(s.roll==n)\r\n         {\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT NAME :\"&lt;&lt;s.name&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ID NUMBER :GUE\/\"&lt;&lt;s.id&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tSTUDENT ROLL NUMBER :\"&lt;&lt;s.roll&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tPROGRAMMING MARK :\"&lt;&lt;s.pro&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tCOMPUTER ARCHITECTURE MARK :\"&lt;&lt;s.arc&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tWRITING SKILL MARK :\"&lt;&lt;s.writing&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\t\\t\\tALGEBRA MARK :\"&lt;&lt;s.alg&lt;&lt;endl&lt;&lt;endl;\r\n        cout&lt;&lt;\"=============================================\"&lt;&lt;endl;\r\n        cout&lt;&lt;\"\\t\\tENTER THE NEW INFORMATION\"&lt;&lt;endl;\r\n        cout&lt;&lt;\"=============================================\"&lt;&lt;endl;\r\n        cout&lt;&lt;\"ENTER YOUR FULL NAME :\";\r\n    cin.ignore();\r\n    cin.getline(s.name,80);\r\n    cout&lt;&lt;\"ENTER YOUR ID NUMBER : GUE\/\";\r\n    cin.ignore();\r\n    cin.get(s.id,80);\r\n    cout&lt;&lt;\"ENTER YOUR ROLL NUMBER :\";\r\n    cin&gt;&gt;s.roll;\r\n    cout&lt;&lt;\"ENTER YOUR PROGRAMMING MARK :\";\r\n    cin&gt;&gt;s.pro;\r\n    cout&lt;&lt;\"ENTER YOUR COMPUTER ARCITECTURE MARK :\";\r\n    cin&gt;&gt;s.arc;\r\n    cout&lt;&lt;\"ENTER YOUR WRITING SKILL MARK :\";\r\n    cin&gt;&gt;s.writing;\r\n    cout&lt;&lt;\"ENTER YOUR ALGEBRA MARK :\";\r\n    cin&gt;&gt;s.alg;\r\n    s.sum=s.pro+s.arc+s.writing+s.alg;\r\n    s.average=(s.sum\/4);\r\n    int pos=(-1)*static_cast&lt;int&gt;(sizeof(student));\r\n    infile.seekp(pos,ios::cur);\r\n    infile.write(reinterpret_cast&lt;char *&gt; (&amp;s), sizeof(student));\r\n    cout&lt;&lt;endl;\r\n    cout&lt;&lt;\"\\t\\t\\t\\tTHE FILE IS SUCCESSFULLY updated\"&lt;&lt;endl;\r\n    checker=true;\r\n         }\r\n     }\r\n     }\r\n     infile.close();\r\n         if(checker==false)\r\n            cout&lt;&lt;\"\\t\\t\\t\\tRECORD NOT FOUND\"&lt;&lt;endl;\r\n            cout&lt;&lt;endl;\r\n            cout&lt;&lt;\"press any key to continue...\";\r\n            cin.ignore();\r\n            cin.get();\r\n  }\r\n\r\n  void deleterecord(int n)\r\n\r\n  {\r\n     system(\"cls\");\r\n     student s;\r\n     ifstream infile;\r\n     infile.open(\"Report.txt\",ios::binary);\r\n     if(!infile)\r\n     {\r\n         cout&lt;&lt;\"THE FILE COULD NOT BE OPENED...\"&lt;&lt;endl;\r\n         cin.ignore();\r\n         cin.get();\r\n     }\r\n     ofstream outfile;\r\n     outfile.open(\"Record2.txt\",ios::binary);\r\n     infile.seekg(0,ios::beg);\r\n     cout&lt;&lt;\"\\t\\t\\t\\t===========DELETE A REPORT CARD==========\\n\\n\";\r\n     while(infile.read(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student)))\r\n     {\r\n         if(s.roll!=n)\r\n         {\r\n             outfile.write(reinterpret_cast&lt;char*&gt;(&amp;s),sizeof(student));\r\n         }\r\n     }\r\n     infile.close();\r\n     outfile.close();\r\n     remove(\"Report.txt\");\r\n     rename(\"Record2.txt\",\"Report.txt\");\r\n     cout&lt;&lt;endl;\r\n     cout&lt;&lt;\"\\t\\t\\t\\tRECORD SUCCESSFULLY DELETED\"&lt;&lt;endl;\r\n     cout&lt;&lt;\"press any key to continue...\";\r\n     cin.ignore();\r\n     cin.get();\r\n  }\r\n<\/pre>\n<h2><strong>Explanation Of The Code<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">1. The major functions of this program are<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Insert Record<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Show all Record<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Search Record<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Exit Program<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">2. Each function has a function call in switch statements that works as per the user\u2019s control.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">3. The various user-defined functions discussed above contribute to the proper functioning of this student record system project.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">4. The home screen is designed so that it greets the user with a \u2018WELCOME\u2019 and a menu appears with two options.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">5. The main menu has six options through which we can create, view, modify, and delete the student\u2019s records.<\/span><\/p>\n<h2><strong>Output<\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18441 size-full\" src=\"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2022\/01\/Img1-36.webp\" alt=\"Student Record System in C++\" width=\"886\" height=\"281\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18443 size-full\" src=\"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2022\/01\/Img1-38.webp\" alt=\"Student Record System in C++\" width=\"946\" height=\"479\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18444 size-full\" src=\"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2022\/01\/Img1-40.webp\" alt=\"Student Record System in C++\" width=\"761\" height=\"381\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>We have successfully implemented a Student Record system in c++ project with all the required functionalities. With the help of this management system, it will become very convenient to manage and record student data and can easily retrieve the stored information when required.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will help to make a student record system project in C++ designed to manage the student\u2019s records.<\/p>\n","protected":false},"author":1,"featured_media":2447,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[16,7],"tags":[17,18,14,19],"class_list":["post-2442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-computer-science","category-coding-projects","tag-c","tag-computer-science","tag-how-to","tag-student-record-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Make Student Record System in C++ | C++ Project - RUDE LABS<\/title>\n<meta name=\"description\" content=\"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Make Student Record System in C++ | C++ Project - RUDE LABS\" \/>\n<meta property=\"og:description\" content=\"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\" \/>\n<meta property=\"og:site_name\" content=\"RUDE LABS\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-01T03:30:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-03T11:37:11+00:00\" \/>\n<meta name=\"author\" content=\"rudelabs.ai\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rudelabs_in\" \/>\n<meta name=\"twitter:site\" content=\"@rudelabs_in\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rudelabs.ai\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\"},\"author\":{\"name\":\"rudelabs.ai\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/560bad88bae03cae99a326a46af0c894\"},\"headline\":\"How To Make Student Record System in C++ | C++ Project\",\"datePublished\":\"2022-01-01T03:30:02+00:00\",\"dateModified\":\"2025-11-03T11:37:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\"},\"wordCount\":350,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#organization\"},\"image\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"c++\",\"computer science\",\"how to\",\"student record system\"],\"articleSection\":[\"C\/C++\",\"Coding Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\",\"url\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\",\"name\":\"How To Make Student Record System in C++ | C++ Project - RUDE LABS\",\"isPartOf\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2022-01-01T03:30:02+00:00\",\"dateModified\":\"2025-11-03T11:37:11+00:00\",\"description\":\"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.\",\"breadcrumb\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rudelabs.ai\/blogs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Make Student Record System in C++ | C++ Project\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#website\",\"url\":\"https:\/\/rudelabs.ai\/blogs\/\",\"name\":\"RUDE LABS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rudelabs.ai\/blogs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#organization\",\"name\":\"RUDE LABS\",\"url\":\"https:\/\/rudelabs.ai\/blogs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2025\/09\/RUDE-LABS.webp\",\"contentUrl\":\"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2025\/09\/RUDE-LABS.webp\",\"width\":2459,\"height\":414,\"caption\":\"RUDE LABS\"},\"image\":{\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/rudelabs_in\",\"https:\/\/www.linkedin.com\/company\/ru-delabs\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/560bad88bae03cae99a326a46af0c894\",\"name\":\"rudelabs.ai\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4d9f672e72f97294dfb6fac3d78e9f0bb5421a701cd2141cf2a2e540b4d67191?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4d9f672e72f97294dfb6fac3d78e9f0bb5421a701cd2141cf2a2e540b4d67191?s=96&d=mm&r=g\",\"caption\":\"rudelabs.ai\"},\"sameAs\":[\"https:\/\/rudelabs.ai\/blogs\"],\"url\":\"https:\/\/rudelabs.ai\/blogs\/author\/rudelabs-ai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Make Student Record System in C++ | C++ Project - RUDE LABS","description":"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/","og_locale":"en_US","og_type":"article","og_title":"How To Make Student Record System in C++ | C++ Project - RUDE LABS","og_description":"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.","og_url":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/","og_site_name":"RUDE LABS","article_published_time":"2022-01-01T03:30:02+00:00","article_modified_time":"2025-11-03T11:37:11+00:00","author":"rudelabs.ai","twitter_card":"summary_large_image","twitter_creator":"@rudelabs_in","twitter_site":"@rudelabs_in","twitter_misc":{"Written by":"rudelabs.ai","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#article","isPartOf":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/"},"author":{"name":"rudelabs.ai","@id":"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/560bad88bae03cae99a326a46af0c894"},"headline":"How To Make Student Record System in C++ | C++ Project","datePublished":"2022-01-01T03:30:02+00:00","dateModified":"2025-11-03T11:37:11+00:00","mainEntityOfPage":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/"},"wordCount":350,"commentCount":0,"publisher":{"@id":"https:\/\/rudelabs.ai\/blogs\/#organization"},"image":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage"},"thumbnailUrl":"","keywords":["c++","computer science","how to","student record system"],"articleSection":["C\/C++","Coding Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/","url":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/","name":"How To Make Student Record System in C++ | C++ Project - RUDE LABS","isPartOf":{"@id":"https:\/\/rudelabs.ai\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage"},"image":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage"},"thumbnailUrl":"","datePublished":"2022-01-01T03:30:02+00:00","dateModified":"2025-11-03T11:37:11+00:00","description":"This article will help to make a student record system project in C++ designed to manage the student\u2019s records.","breadcrumb":{"@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/rudelabs.ai\/blogs\/how-to-make-student-record-system-in-c-c-project\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rudelabs.ai\/blogs\/"},{"@type":"ListItem","position":2,"name":"How To Make Student Record System in C++ | C++ Project"}]},{"@type":"WebSite","@id":"https:\/\/rudelabs.ai\/blogs\/#website","url":"https:\/\/rudelabs.ai\/blogs\/","name":"RUDE LABS","description":"","publisher":{"@id":"https:\/\/rudelabs.ai\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rudelabs.ai\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/rudelabs.ai\/blogs\/#organization","name":"RUDE LABS","url":"https:\/\/rudelabs.ai\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rudelabs.ai\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2025\/09\/RUDE-LABS.webp","contentUrl":"https:\/\/rudelabs.ai\/blogs\/wp-content\/uploads\/2025\/09\/RUDE-LABS.webp","width":2459,"height":414,"caption":"RUDE LABS"},"image":{"@id":"https:\/\/rudelabs.ai\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/rudelabs_in","https:\/\/www.linkedin.com\/company\/ru-delabs\/"]},{"@type":"Person","@id":"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/560bad88bae03cae99a326a46af0c894","name":"rudelabs.ai","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rudelabs.ai\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4d9f672e72f97294dfb6fac3d78e9f0bb5421a701cd2141cf2a2e540b4d67191?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d9f672e72f97294dfb6fac3d78e9f0bb5421a701cd2141cf2a2e540b4d67191?s=96&d=mm&r=g","caption":"rudelabs.ai"},"sameAs":["https:\/\/rudelabs.ai\/blogs"],"url":"https:\/\/rudelabs.ai\/blogs\/author\/rudelabs-ai\/"}]}},"_links":{"self":[{"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/posts\/2442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/comments?post=2442"}],"version-history":[{"count":2,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/posts\/2442\/revisions"}],"predecessor-version":[{"id":18445,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/posts\/2442\/revisions\/18445"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/media?parent=2442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/categories?post=2442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rudelabs.ai\/blogs\/wp-json\/wp\/v2\/tags?post=2442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}