Is possible to put a vector in the array element a[0],a[1]… (different vector in each a[x])?
And if possible, how do I access one element of the vector in a given a[n]?
Is possible to put a vector in the array element a[0],a[1]… (different vector in
Share
Some of the possibilities you have:
In any case, you can access the vectors using
[]operator:And the elements using two
[]operators like: