Please write this C++ program using vector of objects as per the following instructions ( read carefully ). Explain all your steps as if any beginner could understand like how many cpp files or text files should be there. Are the 2 txt files w old and new ta indie or only 1? this task needs to be done with vector of TAs object. Please explain how does it work as I don't know anything about it. Any explanation and comment is very needed . please don't copy from any other sources .please write on your own or skip.  PLEASE ATTACH PICTURES w te written code and show the output too Thank you so much for your time and help

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

Please write this C++ program using vector of objects as per the following instructions ( read carefully ). Explain all your steps as if any beginner could understand like how many cpp files or text files should be there. Are the 2 txt files w old and new ta indie or only 1?

this task needs to be done with vector of TAs object. Please explain how does it work as I don't know anything about it. Any explanation and comment is very needed .

please don't copy from any other sources .please write on your own or skip. 

PLEASE ATTACH PICTURES w te written code and show the output too Thank you so much for your time and help

Q1) Filtering Files
Assume the information of all the TAs for the ECE department is stored in a file that is called TAs.txt.
In order to be eligible for the TA position, a student should be currently registered and can not be an
alumni. However, the file contains old data; it includes some records of TAs who have already graduated
and who are no longer allowed to TA. The format of each TA record in the file is as follows:
Student Id Working Hours Year Hired
Grad
· UGrad
Alum
The first line of the file should show the total number of students records (max number of records is
100).
Note that the TAs can be classified as any of the following (even if they don't all appear in your example):
Initial Student File:
Part A)
You need to write a program that reads the file, removes any lines with invalid TAs (those who have
Alum as the value for classification) and updates the original file.
Work with a vector of TA objects.
Example 1
7
2728282
6104625
6332269
4080553
9796900
3120444
3540999
11
13
4
6104625
4080553
9796900
3120444
8
14
10
11
10
2020
2016
2017
2014
2021
2016
2020
13
14
10
11
Fady
Yu
Abdullah
Gunkeet
2016
2014
2021
2016
Alum
Grad
Initial Student File: After Correction:
Rémi
John
Elizaveta
UGrad
UGrad
Yu
Gunkeet
Rémi
John
Grad
Alum
UGrad
First Name
Alum
UGrad
UGrad
UGrad
Status
Transcribed Image Text:Q1) Filtering Files Assume the information of all the TAs for the ECE department is stored in a file that is called TAs.txt. In order to be eligible for the TA position, a student should be currently registered and can not be an alumni. However, the file contains old data; it includes some records of TAs who have already graduated and who are no longer allowed to TA. The format of each TA record in the file is as follows: Student Id Working Hours Year Hired Grad · UGrad Alum The first line of the file should show the total number of students records (max number of records is 100). Note that the TAs can be classified as any of the following (even if they don't all appear in your example): Initial Student File: Part A) You need to write a program that reads the file, removes any lines with invalid TAs (those who have Alum as the value for classification) and updates the original file. Work with a vector of TA objects. Example 1 7 2728282 6104625 6332269 4080553 9796900 3120444 3540999 11 13 4 6104625 4080553 9796900 3120444 8 14 10 11 10 2020 2016 2017 2014 2021 2016 2020 13 14 10 11 Fady Yu Abdullah Gunkeet 2016 2014 2021 2016 Alum Grad Initial Student File: After Correction: Rémi John Elizaveta UGrad UGrad Yu Gunkeet Rémi John Grad Alum UGrad First Name Alum UGrad UGrad UGrad Status
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage