C ++ compiler needed to work with libraries (boost, ...)
I am currently using Visual Studio to write C ++ code. But it seems so weighty that I decided to switch to another, preferably free one, not as strict on system resources (I mean memory, of course) like VS, in order to learn libraries like Boost and Qt. What compiler do you suggest?
source to share
Code :: blocks is exactly what you need. You can download it here: http://www.codeblocks.org/downloads/5
Select the version with the mingw compiler bundled with it (Windows GCC port). You can switch between this and the VC ++ compiler as and when you like.
Code :: Blocks has everything you need, debugger integration, code completion, class browser, task list, etc. etc. It even imports visual C ++ projects.
Don't use Dev C ++, which has already been recommended. It is very old and outdated.
source to share
There is always Digital Mars . Alternatively, you can freely download the Microsoft WDK that comes with their C / C ++ compiler and command line build system.
source to share
Please note that you do not need another compiler or IDE to use the boost libraries. I wouldn't replace Visual Studio with any other IDE / compiler, at least not on Windows. Installing Cygwin or SUA (better than Cygwin, closer to the Windows kernel) will only be a pain for what you are trying to achieve.
Try to minimize memory usage by disabling unnecessary things, reduce the number of open source files, use an alternative to document explorer to search for help (your browser in msdn will do). Also, I would not call a few megabytes of memory a big use. As long as it doesn't slow down your system, there is no real problem.
A better idea would be to upgrade your computer rather than replacing something powerful with something you don't know.
source to share
There is seriously no real alternative to the Ms compiler on Windows. Everyone else is ok if you can't spring for Visual Studio or if you're just doing a hobby. Cygwin can be painful to deal with.
If you don't want the IDE like anyone else, just use the command line compiler.
I found VS to be great for Boost + Qt to work. Especially if you have a Qt + VS integration tool. You get a GUI designer and respectable Qt project management tools.
source to share
If you are looking for a compiler that uses fewer system resources than MS, you will probably find that most modern compilers, which can compile much or almost all of it in Boost, will be quite heavy on system resources, both cpu usage and consumption. memory. This is true to some extent for the course when it comes to C ++.
However, I like having a second compiler if I am writing portable code, as it is much easier to remove portability issues when you can ensure that the code compiles in different environments. If you want to do all this on Windows, Cygwin might be worth a look. However, it looks like the GCC you get with Cygwin is not exactly what you would call the latter.
The above Digital Mars compilers are noteworthy, Walter Bright (the guy behind them) has been writing C ++ compilers for a long time and they are pretty good. I've used them and started from the early nineties and I've always been happy with them. Not to mention, they always seemed noticeably faster than Microsoft's suggestions, but I haven't received any recent measurements to support this.
After all, most third party tool vendors on Windows tend to target the MS environment, so if you write C ++ code professionally and need tools like leak detectors, you pretty much need to be able to build with MS compilers. even if they are not your main development environment.
source to share
I suggest, Netbeans.org NetBeans IDE , download Cygwin, follow one guide from http://www.netbeans.org for configuring C ++ in Netbeans IDE, just 2 steps .. and y ok autocomplete (faster than VS )
classes and all ... you want xD