使用eclipse編譯含有C++11特性的代碼

使用eclipse編譯含有C++11特性的代碼,總是出錯。最後在stackoverflow找到了解決方法。 1. 右擊項目,選擇Properties。 2. C/C++ Build --> Settings --> Tool Settings --> GCC C++ Compiler --> Miscellanous。在右邊的Other Flags中把 "-std=c++0x" 引號中的內容放到已
相關文章
相關標籤/搜索