title: String in scientific notation C++ to double conversion
body: <p>I've got a database filled up with doubles like the following one: </p>
  
  <pre><code>1.60000000000000000000000000000000000e+01
  </code></pre>
  
  <p>Does anybody know how to convert a number like that to a double in C++?</p>
  
  <p>Is there a "standard" way to do this type of things? Or do I have to roll my own function?</p>
  
  <p>Right now I'm doing sth like this:</p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;sstream&gt;
  
  
  
  int main() {
      std::string s("1.60000000000000000000000000000000000e+01");
      std::istringstream iss(s);
      double d;
      iss &gt;&gt; d;
      d += 10.303030;
      std::cout &lt;&lt; d &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>Thanks!</p>