Hi I have a file (.txt) I need my program to read that stores information like this:
Thomas 2000
Bill 3000
Jake 3500
At which point I need to have the user input via cin, name of the person ie: Jake and have them input another cin(double) which will multiply with the corresponding number of the name selected.
I have no trouble accessing the file and throwing it into a string vector. Now the problem is I don't know how I can have the user cin identify with a name in the vector. And after which to call the names corresponding number for multiplication.