fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. string sss = "43.34.43";
  6. double stode = stod(sss);
  7. cout << stode << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 3228KB
stdin
Standard input is empty
stdout
43.34