Expand|Select|Wrap|Line Numbers
- typedef vector<int> vint;
- typedef vector<vint> vvint;
- typedef vector<vvint> vvvint;
- vint oned;
- vvint twod;
- vvvint threed;
- int i;
- for (i=0; i<10; i++)
- oned.push_back(1);
- for (i=0; i<10; i++)
- twod.push(oned);
- for (i=0; i<10; i++)
- threed.push(twod);
- // ...
- threed.clear();