Quick c++ question, possibly an idiotic one...
If i have a function, say:
vector<Point2f> dothings(vector<Point2f> cornerPoints)
int 2 = 2;
int 3 = 3;
and i want to call it like this:
BUT, i to also specify the resulting array. So I pass it 'pointArray', but I want it to give back a NEW array, with the additions from the function.
So i want to say:
And newArray will be pointArray, plus the result of the dothings function.
How do i do this? a return? or a pointer?