Dear C++ programmers,
I want to make a function that has a return value array with three dimensions.
I tried first
to create a function that will return vector of a structure that has 3 elements., but I got a compilation error C2143 saying that ";" is missing. I don't know how many elements will be in vector but I know that each element should have 3 values. I would put an array as a return value but how to fill out array dinamically?Code:vector <struct> look(....) { .... }
Thank you