It sounds like you may be missing the necessary header file for the stod function. Make sure you have included the header in your code. Additionally, ensure that you are using the correct namespace (std::stod) when calling the function. If you have done both of these things and are still experiencing issues, double check your syntax and the surrounding code to see if there are any other errors causing the problem.