primesieve  6.3
store_primes_in_vector.cpp

Store primes in a std::vector using primesieve.

#include <primesieve.hpp>
#include <vector>
int main()
{
std::vector<int> primes;
// Store the primes <= 1000
primes.clear();
// Store the first 1000 primes
return 0;
}