News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

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?