标签: c++ c++11 mingw codeblocks
我在代码:: blocks上使用带有MinGW编译器的c ++ 11。当我输入:
int x = stoi("4");
我收到错误:'stoi' was not declared in this scope,但它应该是,我无法弄清楚它为什么不是。
'stoi' was not declared in this scope
这已经把我推上了墙,如果有人可以提供帮助,我会很高兴。谢谢一堆:)