使用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" 引号中的内容放到已
相关文章
相关标签/搜索