I am writing a program for my class, basically, I have my functions written out and they work just fine on independent cpp files....what is killing me is we're going to be using linux redirection on our compiled file...so basically automatic input of said list of numbers every time the program prompts for a new set.
Basically here's whats killing me, I need loop in main to continue to request integers until it when it requests a final one there is no more left and then terminates the loop in main due to end of file/no more integers to input...