Loading vectors

Using an input file of names and numbers I have to load up two vectors (one string and one int). I know how do this with a struct but I'm not sure how to put the names and numbers into their individual vectors. How do I pushback when each line of the input file contains a string and an int?

Topic archived. No new replies allowed.