Hi,
I want to pass a pointer to a function that will change from float**
ptr to int** ptr during a series of calls and back again.
In the declaration: int f(float** prt);
I have to write float but I want it to be flexible here.
There is the trivial solution of sending in two pointers but I wonder
if there is a better way?
/Sheldon
I want to pass a pointer to a function that will change from float**
ptr to int** ptr during a series of calls and back again.
In the declaration: int f(float** prt);
I have to write float but I want it to be flexible here.
There is the trivial solution of sending in two pointers but I wonder
if there is a better way?
/Sheldon
Comment