So, im trying to create a 3 dimensional 5x3x2 vector, using the vector lib and saving the number 4 in every node.
Thats what im trying:
vector
You almost got it right -- the second nested vector should be vector >, not just a vector:
vector >
vector > > vec (5,vector >(3,vector (2,4)));