I’m working in robotC for our VEX robots, and I cannot figure out how to pass an array into a function.
When I try to declare the function as:
int Foo(int array]);
I get several errors that sum up to mean that the code doesn’t like square brackets inside function declarations.
Is there a way to pass arrays into functions, or will I have to find an alternate solution?