ASAP 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. Don't miss or copy from any other source 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

ASAP 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. Don't miss or copy from any other source

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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Concept of pointer parameter
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