title: How to Systematically use each item in a Vector
body: <p>I am currently creating a program that initializes a int Vector at the beginning of the program. As the program progresses, Prime numbers will be added to the Vector. Then, the program will check if the result of if the result of a given number % the first number in the Vector == 0. If not, the program will then check it against the second number. Is there a way to do this on C++ 11 and if so, how? Thank you for any time!</p>