User forums > Using Code::Blocks
compiler and stoi()
(1/1)
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?
BlueHazzard:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Navigation
[0] Message Index
Go to full version