CodeBlocks compiler confusion.

Hey everyone,
Of course I'm new to programming. I'm using DEV c++, but I have searched on google it says its old and buggy and says use codeblocks instead.

Codeblock has a little alien interface and I'm watching people on youtube they install MinGW compiler.
My question is what is this mingw and is it necessary to install this along codeBocks?

There are 2 versions of Dev C++. One is very old (Bloodshed) and one is newer (Orwell). Probably google means the old Bloodshed version.

mingw is the compiler that you need. It's the same version in Orwell Dev C++ and Code::Blocks.
If you don't like the Code::Blocks interface then stick with Orwell Dec C++
https://sourceforge.net/projects/orwelldevcpp/?source=top3_dlp_t5

The easiest way to install Code::Blocks iss the bundle that comes with mingw:
https://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe/download

To make an executable out of a C++ source file, you need a C++ compiler. On a Linux system, for example, the GNU C++ Compiler Toolset is installed by default already. MinGW is short for "Minimalist GNU for Windows", so it's that compiler toolset ported for Windows. So if you want to create executable programs with C++, it's helpful to have a compiler installed ;-)

How to install it the easiest way: Go to codeblocks.org / Downloads / Binary Release / Windows and choose the latest version, for example "codeblocks-16.01mingw-setup.exe. Take such a version with *mingw-setup.exe because the MinGW compiler system is already included there.
Thanks, both of you.. Answers are quite helpful :)
Whether you use Orwell DevC++ or Code::Blocks on windows, you are likely to get the same compiler bundled with the installer. The great advantage of that is that the installation should automatically configure the IDE to use the included compiler - usually quite foolproof.

However, if you are more confident about configuring things for yourself, you can download (for 64-bit Windows) a newer compiler:
https://nuwen.net/mingw.html

This should work with either IDE (I've been using it with Orwell DevC++) but you have to do some of the configuration yourself, so the IDE knows where to find the new compiler.
Registered users can post here. Sign in or register to post.