Question: 4. that a a) Fig. 4-B below describes a maino program invokes function readAndstoreInternApplicantRecords () to: read in intem applicant's data stored in a file


4. that a a) Fig. 4-B below describes a maino program invokes function readAndstoreInternApplicantRecords () to: read in intem 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 InternApplicant Type struct variable with the applicant's name, university, email, current GPA, and is Local data (Hint: function strtoPrimitive () 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 "InternApplicant.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 readAndstoreInternApplicantRecords () 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
