stod

Why would 'stod' is not a member of 'std'. Be a recurring error.
Last edited on
You have an outdated compiler which is not supporting C++11 or you forgot to #include <string> .
Alternatively if you cannot or do not want to upgrade your compiler (which you should) is to use std::atod() function declared in <cstring>. Note that it gets a c-string, so you want to use it like std::atod(somestring.c_string());
Last edited on
Topic archived. No new replies allowed.