Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Get list of prime numbers. More...
#include <iostream>
#include <vector>
Functions | |
std::vector< int > | primes (size_t max) |
int | main () |
Get list of prime numbers.
int main | ( | void | ) |
main function
std::vector< int > primes | ( | size_t | max | ) |
Generate an increasingly large number of primes and store in a list