Question: Could use some help with the add user function, Im really lost with the vector in the function argument i have never seen that syntax.

Could use some help with the add user function, Im really lost with the vector in the function argument i have never seen that syntax. In c++ Thanks!

Could use some help with the add user function, Im really lostwith the vector in the function argument i have never seen that

Overview: In this question you will write a program that reads a .csv file and stores the information in a list of structs. Each line of the file corresponds to a struct element in the list. Then you will allow the user to print the contents of the list. Specifics: 1. Your program should take a single command line argument: the name of a .csv file to read in a. This file needs to be stored in the same directory as your program. b. Each line in the file must follow the format ",,KAGE" 2. Reading from the file a. Each line of the file can be read using getline function b. Parse each line using stringstream and convert each entry into its appropriate data type. USERNAME should be a string, GPA should be a float, and AGE should be an int. You can use the stoi, and stof functions to convert from strings to numbers

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!