Home c++ Question on the function STOI in C++

Question on the function STOI in C++

Author

Date

Category

In this code, the STOI function does not work. Why?


Answer 1, Authority 100%

Stoi function can take string or wstring – see it Description .

You pass to her just CHAR .

So it does not “not work”, the code is not compiled at all.

If you describe what you want to get – it would be possible to give some advice, but your question is asking for closure as a standard reason

Questions with request to help with debugging (“Why doesn’t this code work?”) Must include The desired , a specific problem or error and the minimum code for playing it directly in question.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions