I need to take an unknown amount of sorted files and then output any number that is in at least half of them... I know I need to read in the files to a vector and then iterate through them all at the same time looking at the lowest number first and so on. But I am stuck at the point of taking an unknown amount of files and putting them in a container. PLEASE HELP!
This is what I have so far but the vector isn't working and I think I should be putting each file into its own vector.