|
Function that returns an Array?
Hello all,
With all the questions I've been posting, it's obvious I'm a newbie... thanks for all the help.
I'd like to create a FUNCTION that returns an ARRAY, but not sure of the syntax. I tried this:
double function_name[] (double var1, double var2)
{
// do something to create array here
}
But it didn't like the square brackets.
Also, how do you DECLARE and INIAILIZE a 2 dimentional array?
Thanks for the help!
-charliev
|