Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++11 compiler for windows

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.

I'm using Nokia's qtcreator which ships with gcc-4.4.0.

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.

like image 549
nikhil Avatar asked Nov 01 '11 12:11

nikhil


People also ask

How do I run C++ on Windows 11?

If you want to run C or C++ programs in your Windows operating system, then you need to have the right compilers. The MinGW compiler is a well known and widely used software for installing GCC and G++ compilers for the C and C++ programming languages.


1 Answers

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...

like image 67
DejanLekic Avatar answered Sep 23 '22 22:09

DejanLekic