0

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 by sota: n/a

2
Contributors
9
Replies
15
Views
5 Years
Discussion Span
Last Post by sota
0

If so, there is an easier way.

Yes it is , show it please

Edited by sota: n/a

0

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

Edited by sota: n/a

0

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 by sota: n/a

0

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 by sota: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.