Hi Guys,
Just wondering if it is possible to somehow create and initialise a 2D array with varying sized data.
Something like this;
float item[][0] = { 1.0, 9.0, 3.5 };
float item[][1] = { 9.5, 1.2, 9.9, 7.7, 2.4, 1.8 };
And then access the data how ever I wise after that, being aware to check sizeof(item[x][y]) obviously.
Is this sort of thing possible?
Or is a std::vector better for this sort of thing?
Thanks in advance.