Hi I am getting this error with my code as I try to pass a 2d array into a function :
mymain.cpp:173: error: cannot convert `float (*)[((dimensions - 1) + 1)]' to `float**' for argument `1' to `float objfunc(float**)'])'
The code is as follows:
http://cpp.sourceforge.net/?show=4356
The lines 0030, 173 and 282 are where the problems are,
If anyone could be of any help i woule be extremely gratefull as I have been stuck on it for quite a while now. thanks in advance.
mymain.cpp:173: error: cannot convert `float (*)[((dimensions - 1) + 1)]' to `float**' for argument `1' to `float objfunc(float**)'])'
The code is as follows:
http://cpp.sourceforge.net/?show=4356
The lines 0030, 173 and 282 are where the problems are,
If anyone could be of any help i woule be extremely gratefull as I have been stuck on it for quite a while now. thanks in advance.