Dear all,
If i have a vector inside a vector creating a matrix, how do I delete a specific column in that matrix. I have already populated the 2d vector now i need a method to delete a specific column in that vector,
for example my vector would look like:
vector<vector<float> > vec;
Just for knowledge i know how to erase the rows in the vector as below:
vec.erase(vec.begin()+row);
// so What is the algorithm or code to delete a specific column in a vector of vector
Thank you for looking at this problem.