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 the 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 programs. Some of the commonly used software are Turbo C, ANSI C, Borland C, etc.
- Loader: Part of OS.
- Editor: Provides workspace for typing the program.
- Compiler: Perform Translations.
- 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:
Step 2: After downloading the application, right-click and select “Run as administrator”.
Step 3: Continue with the installation by simply clicking “Next”.
Step 4: Select the Destination folder where you want to install it and then click “INSTALL”.
Step 5: And then click “FINISH”.
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.
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:
- Include Directory: C:\TURBOC3\INCLUDE
- Library Directory: C:\TURBOC3\LIB
- Output Directory: C:\TURBOC3\SOURCE
- Source Directory: C:\TURBOC3\SOURCE
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.