Try to store prime numbers and output them but the console is empty and nothing happens
int main() {
    vector <int> v;
    int n = 1000;
    
    int order; // Nth order
    //cin >> order;
    primes(n, v);
    for (auto i = v.begin(); i != v.end(); ++i)
        cout << *i << ' ';
    return 0;
}

 
    