hi,

is there an efficient for to insert the elements of a 2d array into a vector of vectors?

I have

thanks for the helpCode:vector< vector <int> > Points for (i = 0; i < n; i++ ) Points.push_back(vector<int>(d)); int Matrix[n][d]; //populate matrix.... //How to load the data in the Matrix into the vector of v. Points? // is there something better than //iteratation through: Points[i][j] = Matrix[i][j]