////////////////////////////////////////////////////////// // Name: Peter M. Maurer // Program: Sieve of Eratosthenes // Due: Never // Language: Clean C++ ////////////////////////////////////////////////////////// #include #include using namespace std; const int LIMIT = 1000; int main() { // define the sieve data structure int Candidates[LIMIT]; int i; for (i=2 ; i