title: To convert datatype of a vector
body: <p>Please guide me how i can convert a vector of string</p>
  
  <pre><code>std::vector&lt;string&gt; strVect; --&gt; std::vector&lt;float or double&gt; flVect;
  </code></pre>
  
  <p>(e.g. strVect contains values like { "0.1111", "0.234", "0.4556"})</p>
  
  <p>into a vector of floats using c++.</p>
  
  <p>Thanks in advance.</p>