由于to_string是c++11里面的,而dev没有c++11的环境,
我们只需找到工具->编译选项,添加-std=c++11
[Error] ‘to_string‘ was not declared in this scope
最新推荐文章于 2022-05-22 15:18:56 发布
由于to_string是c++11里面的,而dev没有c++11的环境,
我们只需找到工具->编译选项,添加-std=c++11