nicexe/Computer-Security-Task-1

stoi was not declared in this scope

Closed this issue · 2 comments

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

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.

I just tried building this project and using it as well. It seems like its working without any problems.

screen shot 2018-02-05 at 7 09 00 pm