Author Topic: compiler and stoi()  (Read 1544 times)

Offline pavik

  • Single posting newcomer
  • *
  • Posts: 1
compiler and stoi()
« on: February 07, 2018, 01:33:00 pm »
I'm using CodeBlocks, with GNU GCC compiler (ver. (tdm-1) 4.9.2). In Global Compiler settings the "Have a g++ follow the C++ ISO C++ language standard [-std=c++11]" flag is ticked.

I'd like using function stoi() (header <string> is included). Compiling is unsuccessful with error message "error 'stoi'was not declared in this scope"

How could I get rid of this issue?
« Last Edit: February 07, 2018, 01:45:00 pm by pavik »