[问题] C++ std::to_string无法编译

楼主: deangogi (少林扫地僧)   2014-04-18 01:31:10
开发平台(Platform): (Ex: VC++, GCC, Linux, ...)
Code::Blocks 13.12
额外使用到的函数库(Library Used): (Ex: OpenGL, ...)
问题(Question):
是这样的 我的程式内要用到std::to_string()
已经将compiler设定成支援c++11
可是编译时一直出现error: 'to_string' is not a member of 'std'
用google搜了一下 有人说是MinGW的问题
请问我在windows下有什么解决的方法吗 感谢> <
作者: soheadsome (师大狗鼻哥)   2014-04-18 03:01:00
使用非codeblocks内建的mingw(自己另外装应该是因为mingw里面的gcc是4.7版 所以没支援

Links booklink

Contact Us: admin [ a t ] ucptt.com