Hi,
I'm trying to write a function which can modify the values of an array passed to it, and the compiler keeps telling me, "invalid operands to binary *"
Here's the function as I'm trying it:
Code:void TryLocationCalculation(int& cricket_dist[3], double& location[3])
{
location[0] = cricket_dist[0]*cricket_dist[0];
}

