0% found this document useful (0 votes)
215 views20 pages

Report Card Management

This document contains the contents, certificate, acknowledgement, introduction, system requirements, header files, coding, output, and limitations sections of a student report card management project in C++. The project uses classes and functions to allow users to enter, display, modify and delete student records from a data file by roll number. Functions are included to write, read, update, and delete student records from a binary file.

Uploaded by

Thakur Vishal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
215 views20 pages

Report Card Management

This document contains the contents, certificate, acknowledgement, introduction, system requirements, header files, coding, output, and limitations sections of a student report card management project in C++. The project uses classes and functions to allow users to enter, display, modify and delete student records from a data file by roll number. Functions are included to write, read, update, and delete student records from a binary file.

Uploaded by

Thakur Vishal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

CONTENTS

• 1. CERTIFICATE
2. ACKNOWLEDGEMENT
3. INTRODUCTION
4. SYSTEM REQUIREMENTS
5. HEADER FILES
• 6. Coding
7. OUTPUT
8. LIMITATIONS
9. BIBLIOGRAPHY
Certificate

• This is to certify that Himanshu singh of class


‘12 e’ has prepared the report on the project
entitled “ report card management”.The report is
the result of his efforts and endevaour.The report
if found worthy of acceptance as the final project
report of subject computer science of class 12 .The
report has been made under my guidance.


( Mr.Dalakoti sir )

pgt of computer sci
ACKNOWLEDGEMENT
• I would like to express a deep sense of
thanks and gratitude to my guide
Mr Dalakoti sir for guiding me
immensely through the course of my
project . He always evinced keen interst
in my work.
• His constructive advice and constant
motivation have been responsible for
the successful completion of this project
INTRODUCTION
• Student report card system project in C++ is a
simple console application built without the use of
graphics. This project student report card system
help in managing the record of students according
to their roll no. In this project we tried to enter
all details of students like roll no, name, marks in
all five subjects, etc. and tried to maintain all the
possibility which may help the user to enter more
record if he requires.

1. Read all students report card record: The void


display_all() function in this student report card
system project in C++ has been used for this
feature. It basically shows the progress report of
SYSTEM REQUIREMENT
• PROCESSOR Pentium 233 MH or higher processor
Pentium 111 recommended.
• OPERATING SYSTEM Microsoft windows
98/7/8/HP/window HP recommended.
MEMORY 64 GB RAM(minimum), 128 MB
recommended.
DISK SPACE 120 MB including 115 MB of
available space on hard disk that contains the
operating system.
DISK DRIVE CDROM devices.
PRINTING/EDITING DEVICES Default keyboard.
MONITOR Super VGA(800 x 6000) or high
resolution. With 265 Colours.
HEADER FILE

• 1.Fstream = For file handling


cin and cout
• 2.Process.h = For exit function
• 3.Conio.h = For clrscr and getch
function
• 4.Stdio.h = For standard input
and output operation
CODING
• //*******************************************************
********
• // HEADER FILE USED IN PROJECT
• //*******************************************************
*********

• #include<fstream.h>
• #include<iomanip.h>
• #include<stdio.h>
• #include<conio.h>


• //*******************************************************
********
• // CLASS USED IN PROJECT
• cin>>cs_marks;
• calculate();
• }

• void student::showdata()
• {
• cout<<"\nRoll number of student : "<<rollno;
• cout<<"\nName of student : "<<name;
• cout<<"\nMarks in Physics : "<<p_marks;
• cout<<"\nMarks in Chemistry : "<<c_marks;
• cout<<"\nMarks in Maths : "<<m_marks;
• cout<<"\nMarks in English : "<<e_marks;
• cout<<"\nMarks in Computer Science :"<<cs_marks;
• cout<<"\nPercentage of student is :"<<per;
• cout<<"\nGrade of student is :"<<grade;
• }

• //*******************************************************
********
• // THE MAIN FUNCTION OF PROGRAM
• //*******************************************************
*********


• int main()
• {
• char ch;
• cout.setf(ios::fixed|ios::showpoint);
• cout<<setprecision(2); // program outputs decimal
number to two decimal places
• clrscr();
• intro();
• //*******************************************************
********
• // function to write in file
• //*******************************************************
*********

• void write_student()
• {
• student st;
• ofstream outFile;
• outFile.open("student.dat",ios::binary|ios::app);
• st.getdata();
• outFile.write((char *) &st, sizeof(student));
• outFile.close();
• cout<<"\n\nStudent record Has Been Created ";
• cin.ignore();
• getch();
• //*******************************************************
********
• // function to read specific record from file
• //*******************************************************
*********

• void display_sp(int n)
• {
• student st;
• ifstream inFile;
• inFile.open("student.dat",ios::binary);
• if(!inFile)
• {
• cout<<"File could not be open !! Press any
Key...";
• //*******************************************************
********
• // function to modify record of file
• //*******************************************************
*********

• void modify_student(int n)
• {
• int found=0;
• student st;
• fstream File;
• File.open("student.dat",ios::binary|ios::in|ios::out);
• if(!File)
• {
• //*******************************************************
********
• // function to delete record of file
• //*******************************************************
*********

• void delete_student(int n)
• {
• student st;
• ifstream inFile;
• inFile.open("student.dat",ios::binary);
• if(!inFile)
• {
• cout<<"File could not be open !! Press any
Key...";
• getch();
• return;
• }
• //*******************************************************
********
• // function to display all students grade report
• //*******************************************************
*********

• void class_result()
• {
• student st;
• ifstream inFile;
• inFile.open("student.dat",ios::binary);
• if(!inFile)
• {
• cout<<"File could not be open !! Press any
Key...";

• //***************************************************************
• // function to display result menu
• //****************************************************************

• void result()
• {
• char ch;
• int rno;
• cout<<"\n\n\n\tRESULT MENU";
• cout<<"\n\n\n\t1. Class Result";
• cout<<"\n\n\t2. Student Report Card";
• cout<<"\n\n\t3. Back to Main Menu";
• cout<<"\n\n\n\tEnter Choice (1/2/3)? ";
• cin>>ch;
• clrscr();
• switch(ch)
• {
• case '1' : class_result(); break;
• case '2' : cout<<"\n\n\tEnter Roll Number Of Student : ";
cin>>rno;
• display_sp(rno); break;
• //*******************************************************
********
• // INTRODUCTION FUNCTION
• //*******************************************************
*********

• void intro()
• {
• cout<<"\n\n\n\t\t STUDENT";
• cout<<"\n\n\t\tREPORT CARD";
• cout<<"\n\n\t\t PROJECT";
• cout<<"\n\n\n\tMADE BY : SEJAL CHANDNA";
• cout<<"\n\tSCHOOL : JAYCEES PUBLIC SCHOOL";
• getch();
• cout<<"\n\n\t3.SEARCH STUDENT RECORD ";
• cout<<"\n\n\t4.MODIFY STUDENT RECORD";
• cout<<"\n\n\t5.DELETE STUDENT RECORD";
• cout<<"\n\n\t6.BACK TO MAIN MENU";
• cout<<"\n\n\tPlease Enter Your Choice (1-6) ";
• cin>>ch;
• clrscr();
• switch(ch)
• {
• case '1': write_student(); break;
• case '2': display_all(); break;
• case '3': cout<<"\n\n\tPlease Enter The roll number
"; cin>>num;
• display_sp(num); break;

You might also like