Please help with function and pointer

[b][red]This message was edited by VSF at 2003-10-1 0:2:45[/red][/b][hr]

float **sap;

void displaysub(int sap);

void displaysub(int sap)
{
xxxx

}

what i like to do is making a function which pass an double array pointer (sap) to a function

how should i declare/call this function?

thanks

Comments

  • Is this what you're looking for...
    [code]
    double* var[]; // array of array of double
    // or
    double** var[]; // array of array of double

    void displaysub(double* var[]);[/code]
    [hr]
    When it came down to it I dropped everything and ran.
    -Ramza Final Fantasy Tactics

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion