Quote:
|
Originally Posted by codersguru
charliev,
You can not return an ARRAY the way you wrote your code:
To return an array use code like this:
PHP Code:
void function_name (double& MyArray[], double var) { //Fill MyArray with the elements you want. //Don't use RETURN keyword }
|
Dont forget to declare the MyArray[] as a global array as your passing it by referance to the function.