问题描述
我只是在频道9上观看几个视频。我发现像lambdas真的很酷。当我试图复制的例子,它失败。 auto
也无效。
I was just watching a few videos on Channel9. I found things like lambdas really cool. when I tried to copy the example, it failed. auto
didn't work either.
我使用的是gcc-4.4.0附带的诺基亚qtcreator。
I'm using Nokia's qtcreator which ships with gcc-4.4.0.
我想知道哪个编译器具有有趣的功能,所以我可以玩和学习。我不是反MS或任何,所以我不介意尝试Visual Studio如果它有这些功能。
I wanted to know which compiler has the fun features implemented so I could play around and learn. I'm not anti MS or anyhting so I don't mind trying Visual Studio if it has those features.
推荐答案
几乎所有C ++ 11功能在GCC 4.6.x中实现。获得最新GCC版本(MinGW)的好地方是TDM网站 - 。应该很容易通过覆盖文件来替换您当前的GCC与TDM GCC ...
Nearly all C++11 features are implemented in the GCC 4.6.x . A good place to get latest GCC builds (MinGW) is the TDM website - http://tdm-gcc.tdragon.net/download . It should be easy to replace your current GCC with TDM GCC by overwriting files...
这篇关于C ++ 11编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!