Skip to main content

Setting up the IDE for programming in C


Setting up the IDE for programming in C

In this part you will learn:

1. IDE
2. Compiler
3. Setting up the DEV C++ environment

Today we are going to start a 15day series of learning C language. In these tutorials I will teach you from the most basic to some advance stuff. First and the most basic step to start coding is to setup and IDE
( Integrated Development Environment ) sounds a little bit complicated but it really isn’t. Now let’s cover some very basic questions that may arise in your mind.

What is an IDE?
IDE stands for integrated development environment, You can say it is simply a sheet of paper on which you write your code. It has all other some other stuff integrated with it, which includes a compiler to compile your code and show you an output, code formatter to color your written code for easier reading and many other stuff let’s not go into that now.

What is a Compiler?
What you write in your code is actually not understandable by a machine. Machine only understands machine language so a compiler is a program which automatically understands your code and converts it to machine language.

Which IDE should you use?
For beginners there is a very simple and good IDE easily available on the internet with the name DEV C++. You might be thinking that it’s written C++ relax it can also be used for C, as C and C++ are quite similar.

Setting up the DEV C++ IDE:
•First of all go to this link
http://download.cnet.com/Orwell-Dev-C/3000-2069_4-12686.html
and download DEV C++

•Then simply follow the instructions and install.
•After installing it will simply as for language and some other stuff just see the picture below.
Pic1
pic1

Select your desired Language

Pic2
pic2
Select your desired font

Pic3
pic3

Cache the headers

Pic4
http://www.sourcecodester.com/sites/default/files/download/moazkh60/pic4.png

Click ok

•Go to File > New > Source File.
•Now everything is set up and we are ready for coding.

Output:
output

Tags

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byRasbin (not verified)on Sun, 01/18/2015 - 06:28

Thank you so much for this post.

Submitted bymoazkhanon Sun, 02/08/2015 - 21:41

It's always good to hear positive response from readers. Do check out my latest java book.

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.