News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

compiler and stoi()

Started by pavik, February 07, 2018, 01:33:00 PM

Previous topic - Next topic

pavik

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?