title: Error: ‘stoi’ is not a member of ‘std’
body: <p>I'm using NetBeans 7.4 and I want to use <code>std::stoi</code> in C++ but this error keeps popping out. I just installed the newest g++ (with cygwin) but it didn't change anything. I also added <code>-std=c++11</code> then <code>-std=c++0x</code> to command line and nothing changed. Any help?</p>