|
-
March 20th, 2012, 06:44 AM
#1
how can I convert a vector of vectors to a 1d std::vector?
Hello all,
I have a 2d vector like this:
vector<vector<DWORD> > bits = vector<vector<DWORD> >(100, vector<DWORD>(100));
I would like to, in code, convert this vector to 1d like this:
vector<DWORD> 1dBits;
How is the fastest and best way to accomplish this? Example code appreciated.
Regards,
Ellay K.
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
|