[問題] 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