0% found this document useful (0 votes)
11 views

Physics Project

Project of physics

Uploaded by

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

Physics Project

Project of physics

Uploaded by

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

Ha5

University Management
System
Header Files
• The code includes the following header files:
• iostream: Provides input/output stream functionalities.
• string: Provides string-related operations and functionalities.
• fstream: Provides file input/output operations.
Namespace
The code uses the std namespace, allowing the use of standard library
functions and objects without explicitly specifying the namespace.
Class Definitions
• Class University
• Abstract class that serves as the base class for other classes.
• It defines three pure virtual functions: setdata(),
generate_detail_slip_of_UGratuate(), and
generate_detail_slip_of_Gratuate().
Continues..
• Class new_Admission
• Derived class from University and virtual public University.
• Contains member variables related to student information, such as
name, address, phone number, email, etc.
• Provides member functions to gather personal and academic
information of new students, and store the data in files.
• Implements the pure virtual functions defined in the base class.
• Includes functions like UGrades(), personalinfo(), setdata(),
generate_detail_slip_of_UGratuate(), and
generate_detail_slip_of_Gratuate().
Continues..
• Class FacultyStaff
• Represents the faculty staff information.
• Contains member variables for name, address, qualification, and email.
• Provides a member function displayData() to display the staff data.
• Class HOD
• Represents the Head of Department (HOD) information.
• Contains member variables for name, address, qualification, and email.
• Provides a member function displayData() to display the HOD data.
Continues..
• Class ViceChancellor
• Represents the Vice Chancellor information.
• Contains member variables for name, address, qualification, and
email.
• Provides a member function displayData() to display the Vice
Chancellor data.
• Class NewStudent
• Represents the new students' information.
• Provides a member function displayData() to read and display the
data of new students from files.
Main Function
• The main() function is the entry point of the program.
• It includes a loop that allows the user to navigate through different
options.
• The options include:
• New admission process.
• Viewing university data, including the Vice Chancellor, HOD, new students,
and faculty staff.
• Exiting the program.
• The program uses various objects and calls their member functions based
on user input.
• The loops ensure that the user can repeat certain actions or exit the
program when desired.

You might also like