|
-
February 2nd, 2012, 12:24 PM
#1
Is 2D cliext::vector myth ??
Hi ,
This is my first post to CodeGuru. I have been seeking for a 2D cliext::vector decleration for a long long time, i found nothing ! I saw that some other people are looking for the same subject. However i am not sure that even they exist or not?
Any help will be greatly appreciated.
PS. I have some cliext::vector syntax which are working fine. Finally i need a 2d vector , if it really exists.
#include <cliext/vector>
using namespace cliext
vector<int^>^vec = gcnew vector<int^>(9) ;
vect->push_back(7) ;
vect->pop_back(7);
vec->erase(vec->begin()+3) ; // delete 3rd vector members
vec->eraser(vec->begin(),vec->begin()+3) ; // delete first 3 member
vec->size(); // new size
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|