The code I have so far allows me to read the numbers from the file and store the numbers into the vector, however I also need to find the numbers from the file that are repeated and the number of times the numbers are repeated.
I will not be able to use the algorithm library as we have not yet covered it in class, I was instructed that I should insert in a way that it is ordered but I have not a clue of how to approach.
Any help would be greatly appreciated.
Thank you keskiverto, however I will not be able to use any of the functions in the algorithm library as the professor has not yet gone over them. This is just a beginner class and we've only covered simple material :(