Hey Im trying to run a spreadsheet code on the app and everytime i use the "stod" function it says it was not declared in the scope

0 votes
asked by about Dev-C++

I have added include and used namespace std but it still wont run

1 Answer

0 votes
answered by (88.5k points)

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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...