Documentos de Académico
Documentos de Profesional
Documentos de Cultura
IMPLEMENTATION DETAILS
You are required to implement a student class with following data members and functions.
a) Data members include roll no, name, marks and grade of a student.
c) The file system should be in binary format where each student has its own file.
d) Use object oriented programming approach to deal with the data files.
e) Member functions in this class are used for accept / display details of students and a
function to calculate grade based on marks obtained by student. Student Records are
stored in binary file.
The menu driven program should also illustrate read, write, search, modify and delete
operations in binary file. All the modules of the system and their working are explained in
following points:
write_student function to write the record in binary file
display_all function to read all records from binary file
display_sp(int) function to accept roll no and read record from binary file
modify_student(int) function to accept roll no and update record of binary file
delete_student(int) function to accept roll no and delete selected records from binary
file
class_result function to display all records in tabular format from binary file
result function to display result menu
Intro function to display welcome screen
entry_menu function to display entry menu on screen
Use file handling with exceptions that program never crashed on any command.
4/26/2017 Student Report Card System 2
The program can add new member and the new data file with each student must
generated based on their roll no.
Use proper comments for understanding of project.
Main Screen:
1. Entry/Edit Menu:
This function should edit and enter the record of any student, display all students records,
search student record, modify and delete student record.
Suppose user enter option 1 then it will show the following output:
For option 3 it should search any specific student whose record we want to edit or display
2. Result Menu:
3. Exit:
SAMPLE CODE:
class Student
{
private:
int ID;
string name;
public:
Student()
{
}
Student(int ID, string name, double GPA, char gender)
{
}
void setStudent(int ID, string name, double GPA, char gender);
int getID();
string getName();
double getGPA();
char getGender();
void print();
};
1. The entire program has to be menu driven. (Keep the menu simple but attractive)
2. When program starts the user should be able to view the Main Menu and from there the
user should be able to move to the sub-menus.
3. Use the object oriented programming concepts and file handling.
TEAM STRUCTURE
THIS IS AN INDIVIDUAL PROJECT.
SUBMISSION GUIDELINES:
Submit your work in zipped form at your lab day instructors email ids
Subject of the email must be Mon D Proj
Name of the file should be CS102L_Proj_<yourRollNumber>
ZERO credit for plagiarism (cheating). There will be zero tolerance for cheating
The zipped file must contain ReadMe.txt to show how to run your code.
Each stage of the project has value; so do not overlook any single section.