Hi i need divide below vector by 3 into a 2d vector
ExampleCode:vector<int> a = {5,6,8,7,5,4,7,5};
How can i do that i need helpCode:vector<vector<int> > b = {{5,6,8},{7,5,4},{7,5}};
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 13 of 13
Thread: Divide 1d vector into 2d vectorThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |