P
piruk
I create two dimensional vector:
vector < vector< vector<int> > > v(100);
And next I create
vector <int> temp(2);
temp[0]=1;
temp[1]=2;
And how to add temp to v on specified index?
For example I wold like to have vector temp on index 0 in v.
It means I would like to have:
v[0][0][0]=1 and v[0][0][1]=2
piruk
vector < vector< vector<int> > > v(100);
And next I create
vector <int> temp(2);
temp[0]=1;
temp[1]=2;
And how to add temp to v on specified index?
For example I wold like to have vector temp on index 0 in v.
It means I would like to have:
v[0][0][0]=1 and v[0][0][1]=2
piruk