How do I convert a std::vector to a double array[]?
std::vector
double array[]
You can do some what like this
vector id; vector v; if(id.size() > 0) { for(int i = 0; i < id.size(); i++) { for(int j = 0; j < id.size(); j++) { double x = v[i][j]; cout << x << endl; } } }