Those statements create 6 std::vectors that hold ints. Was that intentional?
en liten kille wrote:
How should I initate them in the function without mention anything about their size?
If what you wrote was in fact intentional, then you can obtain the length of one of those std::vectors by invoking std::vector::size( ), like so: vector1[0].size( ), or vector1.size( ).
Its not so hard once you got the basics of vector. But it appears to me as if you do not have a good knowledge of them. Do you realise that you've created two array of 3 vectors? If you don't then I suggest having a look at
www.cplusplus.com/reference/stl/vector/