R
Robert Palma
I'm having trouble figuring out how to pass a
pointer to a double array (1 dimensional)
to a C function.
Declaring array as: double xx[100];
Declaring func. int process( double *input[] )
Calling func. as one of the following:
process ( xx );
process ( &xx[0] );
I get various "can't convert, can't recast"
error messages from the compiler.
I have also tried declaring a double pointer and
pointing address of index zero of the array to the
double pointer - no luck either.
Using Visual Studio/Visual C 6.0
Many thanks,
Robert
pointer to a double array (1 dimensional)
to a C function.
Declaring array as: double xx[100];
Declaring func. int process( double *input[] )
Calling func. as one of the following:
process ( xx );
process ( &xx[0] );
I get various "can't convert, can't recast"
error messages from the compiler.
I have also tried declaring a double pointer and
pointing address of index zero of the array to the
double pointer - no luck either.
Using Visual Studio/Visual C 6.0
Many thanks,
Robert