[Error] 'to_string' was not declared in this scope
[Error] 'to_string' was not declared in this scope由于to_string是c++11里面的,而dev没有c++11的环境,我们只需找到工具->编译选项,添加*-std=c++11* ![在这里插入图片描述](https://img-blog.csdnimg.cn/2019032821094857.png?x-oss-process=im...