Question: In C++: a a) Fig. 4-B below describes a main program that invokes function readAndStore InternApplicantRecords () to: read in intern applicant's data stored in
In C++:



a a) Fig. 4-B below describes a main program that invokes function readAndStore InternApplicantRecords () to: read in intern applicant's data stored in a file with the filename that was passed in as argument extract the relevant pieces of information like name, university, email, etc of each applicant stored in the file (Hint: make use of the function splitstrtovecofStr() in Qn 2) initialize a InternApplicantType struct variable with the applicant's name, university, email, current GPA, and is local data (Hint: function strto Primitive () in Qn 3 can also be used to help you!) store the InternApplicant Type variable info into a vector retum a vector InternApplicantType> which contains the data of each applicant found in the file Based on the sample contents of file "InterApplicant.txt" in Fig. 4-A, assuming both splitstrtovecofstr() from Qn 2 and strto Primitive()in Qn 3 are available in the main() program in Fig. 4-B, and the sample output as shown in Fig. 4-C, write the implementation code for the function readAndstoreInternApplicant Records () based on the function prototype signature as shown below: vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
