title: How to return a float array in c and save it an array of floats to use later?
body: <p>I have a C++ function which returns a <code>std::vector&lt;float&gt;</code>. </p>
  
  <p>I am interfacing with some C code.</p>
  
  <p>How do I change this C++ function so that it returns some pointer to a float array, and how do I save this returned array so that I can use it in my C code?  </p>