Thank you very much! I changed this. Now the build is successful, but it gives warning for 'for loops': signed/unsigned mismatch. The program opens console, but there is just a line 'Press any key to continue...' and no numbers.
No, what I mean is, the program only takes input and stores it in a vector - if you want to see the results you have to std::cout the vector. Here is my original code, modified to display the vector:
You could use a vector of std::pair<int, std::string>, or you could make a struct and have the vector be a vector of that struct. I recommend the struct because it makes it easier to change your code if you want to add more in the future.