Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This project is a continuation from Project 3. The program will accept a modified input data file to (below) and support the same list and

image text in transcribed

image text in transcribed

This project is a continuation from Project 3. The program will accept a modified input data file to (below) and support the same list and find operations. In this project, the Student class will be modified to be an abstract based class with a pure virtual function, string getstatus) const. You are to implement two classes, FullTime and PartTime, as derived classes of the student class a1 Fure : Project4 class diagram Develop a program, name proj04.pp, to use the Course object to read from the input student record file and create a list of student, full-time or part-time, objects. 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 Example Output: cat students.dat John Doe 123456789 FULLTTME Bob Smith 598765432 B FULLTIME Bill Jones 89 745792 C P RTTTME George Roberts 128920740 D FULLTINE /proj04 proj04 find .proj04 list

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions