I don't need to know how to define the function, but how to specify the 2d array as a pointer in the function call.
Type: Posts; User: OakRand
I don't need to know how to define the function, but how to specify the 2d array as a pointer in the function call.
That's for passing an array.
I need a pointer to an array,
What is the correct way to pass a pointer to 2D array?
What I do:
float X[length][length]
foo(&X);
Error:
I've written a program I'm going to be distributing that uses a few subroutines from a free library (slatec). I assume I can distribute these files as well, but should I include the same...
That's what it was. Thanks. I should have realized it.
This may be a well-known phenomenon, but I've only just noticed it and am not sure why it happens.
I've got a basic little subroutine called from main that runs two nested for loops and takes 13...