Hi all,

I ve been seeking a tutorial,article etc. about 2D cliext::vector . These are using <cliext/vector> library and cliext namespace.
At once i need 2d vector decleration and its
erase method to remove all rows which are full of zeros.

Any help 'll be greatly appreciated.

Edited 4 Years Ago by sota: n/a

If so, there is an easier way.

Yes it is , show it please

Edited 4 Years Ago by sota: n/a

Thines01, finally i need a 2D vector in managed C++. Could you tell me such a structure exists or not ?

Edited 4 Years Ago by sota: n/a

Hi,unfortunatly there is no such thing as a 2D cliext::vector in msdn. I will go on with 2D STL vector type.

#include "vector"
using namespace std;

vector<vector<int>> int_vector(2,vector<int>(2));

Edited 4 Years Ago by sota: n/a

Sort of...

Allright but it is a kind of 1D structure which has a bigger library than vector type.
How can it be used in place of a 2D vector !?

Edited 4 Years Ago by sota: n/a

This question has already been answered. Start a new discussion instead.