So I just started C++ a few days ago, forgive me if I did anything royally stupid.
Basically trying to make a small program to give you a list of prime numbers up to a certain number with the Sieve of Eratosthenes algorithm. The problem is that instead of outputting each prime once, they each...