title: C++ stod function equivalent
body: <p>A friend of mine sent me his program. He uses <strong>"stod"</strong> function to convert string to double. Is there any other possibility to do such thing?</p>
  
  <p>My complier shows error "stod was not declared in this scope"</p>
  
  <p>I've included <code>#include &lt;string&gt; #include &lt;cstdlib&gt;</code> but nothing has changed.</p>
  
  <p>My complier doesn't use C++11 features. By the way, that program were prepared as a school project, without purpose of using C++11.</p>