Sitemap
KALUMBA GIDEON

KALUMBA GIDEON

Normal Programmer

DEV C++

3 min readMay 5, 2021

--

Press enter or click to view image in full size
Photo by Taras Shypka on Unsplash

Many people may be wondering what Dev C++ is, what is Dev C++!??

in this article we are gonna talk about what Dev C++ is, how it works and some other various extended plugins that enable it work best.

What is Dev C++?

· Dev C++ is a software program categorized under Integrated Development Environment which is mainly used to execute C and C++ programming languages.

· So anyone reading this article, I would refer you to program C and C++ using Dev C++

Why would I use Dev C++!?

They are variety of reasons why a programmer should opt for Dev C++

· It is user friendly

· It compiles errors and executes programs fast

· Errors once made can be understood by the user

· It has fast compilers like the MiniGwin compiler and TDM-GCC compiler

How is Dev C++ Installed?

· Install Dev C++ by double clicking the dev-cpp setup icon

· A Dialog box will complain about an Unknown Publisher; just click on the Run button anyway.

· Wait for it to install and launch it.

How to use Dev C++

Dev C++ like any other text editors is used to create write C and C ++ programs except, it has compilers… below are the steps how to use the Dev C++.

  1. Open the Dev C++ program

2. Click on files and select source file

3. You open the source file

new blank window will appear as seen above

Get KALUMBA GIDEON’s stories in your inbox

Join Medium for free to get updates from this writer.

4. But before anything done, your project must be saved

· For example in the screenshot above I saved it as dhope.c with a C file extension

5. Now the project is begun on this new blank window

NB; those are the basic steps for beginning any C or C++ based projects

Writing a C program using Dev C++

Writing a program is one of the simplest thing and soon you’re gonna discover how simple it is. For example you may be asked;

1. Write a program that prints hello everyone

· The syntax of this program is as follow;

#include <stdio.h>

Int main(){

Printf(“hello everyone”);

Return 0;

}]

Illustration

The output of the code will be as follows

And hence proves it well Dev C++ is best for C programming

To add on the Dev C++, it uses a compiler that enables it to execute programs.

Basically I would like to talk about the TDM-GCC compiler……..

What is TDM-GCC compiler?

· TDM-GCC is a compiler suite for Microsoft Windows. It can also act as the global environment for different programming languages editor like the Dev C++

· It is one of the best compilers for programming C and C++

--

--