Dev C++ IDE is one of the most commonly used IDEs for developing C++ applications:

First of all, lets explain what is dev++


Dev-C++ is a fully featured graphical IDE (Integrated Development Environment) that uses the MinGw compiler system to create windows as well as console based C/C++ applications. It can also be used with any other GCC-based compiler like Cygwin however

Features of Dev-C++ IDE

It also allows to Edit and compile the Resource files.

It provides support for Class Browser as well as Debug variable Browser.

It has a Project Manager that helps us to manage various projects.

Also provides print support through its interface.

We can easily install the add-on libraries using the package manager provided by the IDE.



#1) The first step while we start the installer is to select the language of our choice .

#2) Once you select the appropriate language, you have to agree to the license agreement that pop-ups next.

#3) Next, we are asked to select the components that we need to install as a part of the dev-C++ installation.

#4) Now the installer prompts the user for the destination folder where the dev-C++ files/libraries etc. are to be copied.

#5 install the software


  • Click File -> New -> Project.
  • A new dialog opens up as shown below.
  • Here, we can specify the project name. Make sure to select the “Empty Project” and also to check the “C++ Project” button.

Add Source File(s)

  1. Add a new file by clicking
  2. Project ->New File or Right-click on Project Name in the project explorer and click New File.

Compile/Build & Execute Projec

A Brief History and Introduction to GCC

Original GNU C Compiler (GCC) is developed by Richard Stallman 1984 to create a complete Unix-like operating system

GCC Versions

· GCC Version 6 (2016):

· GCC Version 7 (2017)

Installing GCC on Windows

For Windows, you could either install Cygwin GCC, MinGW GCC or MinGW-W64 GCC. Read “How to install Cygwin and MinGW, now let talk about MINGW


Programming language that support MINGW include C, C++, Objective-C,


1.Download Minimalist GNU for Windows (MinGW).

Use the following steps to download MinGW.

· Go to in a web browser and then click the green button that says Download, wait for the installer to download automatically.

2.Install MinGW. Use the following steps to install MinGW:

· Double-click mingw-get-setup.exe in your Downloads folder or web browser.

· Click Install.

· Click Continue.

· MinGW recommends using the default installation folder (C:\MinGW). If you must change the folder, don’t use a folder with spaces in the name (e.g. “Program Files”).

3.­­Select which compilers to install.

Right-click each package and click Mark for Installation.

Install the selected packages. This may take sometime.

· Click the Installation menu in the upper-left corner.

· Click Apply Changes.

· Click Apply.

· Click Close once the installation is done

.Add the path to MinGW to system environment variables. Use the following steps to add the path to MinGW to system environment variables:

· Type environment in the search bar next to the Start menu.

· Click Edit the system environment variables in the search results.

· Click Environment Variables

· Select the Path variable.

· Click Edit beneath the top box (under “User Variables”)

· Click New.

· Type C:\MinGW\bin in the new space. Note that if you installed MinGW to a different directory, enter C:\path-to-that-directory\bin.

· Click OK, and then OK again. Click the one remaining OK button to close the window

Open the command prompt as an administrator. You must be signed in to a Windows account with administrative privileges to open the Command Prompt as an administrator. Use the following steps to open the Command Prompt as an administrator:

· Type cmd in the search bar next to the Start menu.

· Right-click Command Prompt in the search results, then select Run as Administrator.

· Click Yes to allow changes.

Navigate to the folder where your source code is saved. For example, if your source code file called helloworld.c is located in C:\Source\Programs, type cd C:\Source\Programs

Type gcc c –o [program_name].exe [program name].c and press Replace “[program name]” with the name of your source code and application. Once the program is compiled, you’ll return to the command prompt without errors.

· Any coding errors that appear must be corrected before the program will compile.

Type the name of your program to run it.

· If you receive an “Access is denied” or “Permission denied” error message when compiling a program or running the output executable file, check the folder permissions and make sure you have full read/write access to the folder


GCC stands for “GNU Compiler Collection” and is a piece of GNU software that includes a compiler with frontends for multiple languages: WHILE MinGW stands for “Minimalist GNU for Windows” It is essentially a tool set that includes some GNU software, including a port of GCC.


picture by Kayongo Benjamin


Picture by Kayongo Benjamin
Picture by Kayongo Benjamin