A C++ program to generate the list of all prime numbers up to a specified integer, using the Sieve of Eratosthenes algorithm.