Dev-C++ is an IDE that is used by most programmers to write and execute their programs, and installation process is quite simple as shown below;

Installation process of Dev-C++

  1. First step is to open up a browser and type the word “Dev-C++” in the search engine as shown below;

Then select the first option by clicking.

2. After that the download page will pop up then click on the download button;

3. When the download is complete, open the file from download folder in the computer and double click on the file to install it.

5. After that give the permission to allow the installation process to begin.

6. When the installation is done, a window will pop up then simply accept the conditions by clicking “next” till the program open.

7. After the set up of the program is done the open the program and click on the file button on the left top corner of the program.

8. Select the “New ” option and then click on source file to open a new file

Using MinGW for Windows

1.Download Minimalist GNU for Windows (MinGW). This is an easy-to-install version of GCC for Windows. Use the following steps to download MinGW:.[2]

· Go to in a web browser.

· Click the green button that says Download.

· Wait for the installer to download automatically.


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. At the minimum, choose Basic Setup on the left panel, then place check marks next to all of the listed compilers in the right main panel. More advanced users can choose All Packages and select additional compilers.

4.Right-click each package and click Mark for Installation. The Basic Setup has about 7 packages listed in the box at the top. Right-click each one of them (or just the ones you want) and click Mark for Installation. This adds an icon with an arrow next to each one and marks it for installation.

5.Install the selected packages. It may take your computer several minutes to install all packages. Use the following steps to install the packages that are marked for installation.

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

  • Click Apply Changes.

· Click Apply.

· Click Close once the installation is done.

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

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

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

9.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.[3]

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

10.Type the name of your program to run it. If it’s called hello_world.exe, type that in the command prompt to start your program.

· 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 that contains the source code. If that doesn’t work, try temporarily disabling your virus software.