Error stoi was not declared in this scope

[Error] ‘stoi’ was not declared in this scope 一般是DEV没有设置C++11的编译环境: 设置步骤: 工具-> 编译选项 -> 加入-std=c++11; 然后点击代码生成/优化-> 代码生成 -> 在标准语言中 选择ISO C++11。 PS:如果你依旧还没有解决话,可能是你的DEV版本的问题。 比如我这个版本的是蓝桥竞赛的版本,有些函数不能用。 这
相关文章
相关标签/搜索