title: C++ help with error : cannot convert parameter 1 from 'float' to 'float [][2]
body: <p>and I was doing a program, that isn't so important. Apparently, I cant send parameters to a float function.
  the code look something like this</p>
  
  <pre><code>float myfunction(float array[1][2])
  {
  // ...
  return 0;
  }
  
  int main()
  {
  float array[1][2];
  int foo = 0;
  // assigning values to the array
  
  foo = myfunction(array[1][2]);
  return 0;
  }
  </code></pre>
  
  <p>when I try to compile, I get the error "cannot convert parameter 1 from 'float' to 'float [][2]"
  What is wrong? And how can I solve it?</p>