Question: C++ Objectives: Class Association and operator overloading This project is a continuation from Project 1. The program should accept the same input data file and

C++  C++ Objectives: Class Association and operator overloading This project is a
continuation from Project 1. The program should accept the same input data
file and support the same list and find operations. You will change
the implementation of Project 1 to use class instead of struct and
implement operators for reading and writing student objects. A student.h header file,
declared below, is used to represent each student object in the system.
A course.h header file, declared below, is used to represent a list

Objectives: Class Association and operator overloading This project is a continuation from Project 1. The program should accept the same input data file and support the same list and find operations. You will change the implementation of Project 1 to use class instead of struct and implement operators for reading and writing student objects. A student.h header file, declared below, is used to represent each student object in the system. A course.h header file, declared below, is used to represent a list of students enrolled in a course. and methods that you need to implement. You should create student.cpp and course.cpp to implement the two classes. Develop a program, name proj03.epp, to use the Course object to read from the input student record file and create a list of student objects. The input data file can store up to 35 student records. This program can perform 2 functions .List: to list all the student records read from the input file .Find: to lookup a specific student record by the input student id. Student ID read from command line is character string. It needs to be converted to an integer before calling the find function. Use the atoi () function in header for the conversion. Your program will read all input from the command line, no prompting for user input and hardcoding for input file name. The required program output is provided below Declaration of Student class: / file student.h ifndef STUDENT H define STUDENT H include using nanespace std elass Student param is the input strean epar am course the student object reference return the input stream triend istream& operator >(istreamiis,Studenti student) epar am o8 the output stream epar am course the student object reference return the output stream triend ostreams operator

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!