I need to call a cpp function like
void myFunc(float **array2D, int rows, int cols)
{
}
within an objective-c object. Basically, the array is created in my objective-c code as I create an NSArray object. Now, the problem is how to pass this array to my cpp function.
I am a bit new to these mixed c++/objective-c stuffs so any hint will be highly appreciated.
Thanks
array2Dis unidimensional. Can you confirm that? I’m guessing it’s a bidimensional array since the parameter isfloat **array2D, but I could be wrong.void myFunc(std::vector<std::vector<float> > array2D){...code...}