title: convert values in string to float array
body: <p>i have a string in C which i got from some algorithm. it has numeric values in a format like this</p>
  
  <pre><code>0.100
  0.840
  0.030
  0.460
  0.760
  -0.090
  </code></pre>
  
  <p>and so on</p>
  
  <p>in need to store each of these numeric values into a float array for numeric processing. i am new to C and found string handling in C to be complex. can anyone tell me how i might implement this.</p>