stoi was not declared in this scope
Closed this issue · 2 comments
tuanpham996 commented
when i run this program on DevC++, I got a issue: " [error] 'stoi' was not declared in this scope". Can you give me a solution! thanks
nicexe commented
Have a look here: CMakeLists.txt #4
When I wrote this ~3 years ago I used the c++11 version. I was under the impression that the code I wrote was fairly portable. Good thing my professor didn't deduct any points for this task.
You should probably use more modern standards and maybe do some checks in case something goes wrong.
nicexe commented
