edit this page - page history - about editing

C

Convert a C array a[0..5] to b[1..6]

float b[4];
float *bb;
bb = b - 1;

Declare an array inline

void myFunction(float foo[]);
...
myFunction( (float[]) {1, 2, 3, 4} );

edit this page - what links to here? - page history - top
Last edited by jevon jevon 122 months ago