c++ multidimensional vector

C++
#include <vector>
vector<vector<int> > OuterVector;

vector<int> InnerVector_1;
InnerVector_1.push_back(10);
InnerVector_1.push_back(11);
InnerVector_1.push_back(12);
InnerVector_1.push_back(13);
InnerVector_1.push_back(14);
InnerVector_1.push_back(15);
OuterVector.push_back(InnerVector_1);

vector<int> InnerVector_2;
InnerVector_2.push_back(40);
InnerVector_2.push_back(41);
InnerVector_2.push_back(42);
InnerVector_2.push_back(43);
InnerVector_2.push_back(44);
InnerVector_2.push_back(45);
OuterVector.push_back(InnerVector_2);

for (unsigned int i = 0; i < OuterVector.size(); i++)
{
  cout << "\n/------------------------(i=" << i << ")----------------------------/\n";
  for (unsigned int j = 0; j < InnerVector_1.size(); j++)
  {
    cout << "OuterVector[i][j] = OuterVector[" << i << "][" << j << "] = " << (OuterVector.at(i)).at(j)  << endl;
  }
}
Source

Also in C++: