C++11 compiler for windows

前端 未结 11 1434
我寻月下人不归
我寻月下人不归 2021-02-01 23:12

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.

<
11条回答
  •  无人及你
    2021-02-01 23:22

    Take a look at MinGW-w64 if you're looking for a gcc-compatible compiler on Windows that supports a number of C++11 features.

    Also if you're just looking for lambas and auto, as well as some other C++11 features like decltype, etc., (again, not as many feature are implemented compared to the latest stable gcc branch) then you can also use the free Visual Studio 2010 Express for C++ on Windows.

提交回复
热议问题