Question: In this assignment, you will write a program to read in information from an input file in a way that is very similar to what

 In this assignment, you will write a program to read in

In this assignment, you will write a program to read in information from an input file in a way that is very similar to what you did in Project 2. However, instead of arrays, you will use vectors this time. In this assignment, you will need to read in the below data from an input file where there are an unknown number of student records. Since a typical classroom holds 30 students in our building, you can set your array allocation to 35. 1. Use vector variables to store the below data read in from the input file: a. First Name b. Last Name c. Major d. T-Number e. GPA f. Number of Credit Hours Completed g. Favorite Class h. Least Favorite Class i. Year you expect to graduate Use functions for each of the below: a. Function to check to see if input file was found b. Function to read in data from input file C. Function to output all data to screen and output file d. Function to output all data to screen and output file in reverse order e. Function to output the student's information that has the highest number of credit hours f. Function to output the student's information that has the highest GPA

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!