Environment Setup for C Program

Environment Setup for C Program

In this article, I am going to discuss Environment Setup for C Program Development step by step in the windows operating system. Please read our previous article, where we discussed the Structure of C Program in detail.

Installation and Environment Setup

To write the C program, we need an IDE (Integrated Development Environment). Generally, IDE provides Editor, Compiler, Linker, and Loader. Various software provides the IDE with well-supported features for developing and editing C program. Some of the commonly used software is Turbo C, ANSI C, Borland C, etc.

  1. Loader: Part of OS.
  2. Editor: Provides workspace for typing the program.
  3. Compiler: Perform Translations.
  4. Linker: Combine object file into the application file (OPJ .exe).
How to Download and Install C in Windows?

To install the Turbo C++ software, you need to follow the following steps:

Step 1: Download Turbo C++ software by using the following link:

https://www.softpedia.com/get/Programming/Coding-languages-Compilers/TurboCplusplus-for-Windows-7.shtml

Step 2: After downloading the application, right-click and select “Run as administrator”.

How to Download and Install C in Windows?

Step 3: Continue with the installation by simply clicking “Next”.

Environment Setup for C Program

Step 4: Select the Destination folder where you want to install and then click “INSTALL”.

Installation and Environment Setup for C Program

Step 5: And then click “FINISH”.

Download Turbo C++ software

Step 6: A desktop shortcut is created which you can use to launch the application.

How to Configure Turbo C++?

After clicking on the Desktop Shortcut, you will automatically get the Turbo C++ Window with its iconic blue screen.

How to Configure Turbo C++?

After the Turbo C++ is launched, the first step you need to do is to make sure that all the directories associated with Turbo C++ are correct.

In our case the directories are as follows:

  1. Include Directory: C:\TURBOC3\INCLUDE
  2. Library Directory: C:\TURBOC3\LIB
  3. Output Directory: C:\TURBOC3\SOURCE
  4. Source Directory: C:\TURBOC3\SOURCE

Configure Directories in C Program Development

Now, you are ready to write your first program in Turbo C++. In the next article, I am going to discuss how to download and Install the Codeblocks IDE Setup in Windows for C Program. Here, in this article, I try to explain the environment setup for C Program.

Leave a Reply

Your email address will not be published. Required fields are marked *