Question: https://paste.ofcode.org/9WEdZcVNK3q4uFyCMcGxSW Hey, I'm adding a little score system to a project for school and I'm working with vectors for the first time, can anyone help

https://paste.ofcode.org/9WEdZcVNK3q4uFyCMcGxSW

Hey, I'm adding a little score system to a project for school and I'm working with vectors for the first time, can anyone help me with the function to load data from the text file and into a vector? The text file is formatted like this:

word

10

word

5

word

8

and so on. I also want to be able to sort the vectors later as well. Thank you so much.

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!