Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: pavik 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?
-
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F