C Installation and Environment Setup
Before starting doing programming in C language, first of all you need to install the C compiler in your operating system. Now a day, C and C++ both programming language comes as a single unified package, which fulfil the requirement of both C and C++ program development.
What is Compiler
When we write instructions or code for computer (computer program), they are written in high level language (english language), which can only understand by human being but a computer cannot. The computer only understand the machine language (0 1 format) which we cannot understand easily. For this reason, we need a software that converts the high level language (program) written by us into a machine language for computer. This machine language is understood by computer and they follows. This type of software is called compiler.
There are several compilers available in the market that works on different operating systems. For example, some popular compilers that work on MS-DOS are Turbo C, Turbo C++, and Microsoft C++. Visual C++ and Borland C++ compilers are compatible with Windows operating system where as gcc compiler works with Linux.
Note that the Turbo C, Microsoft C++ and Borland C++ compiler also contain a C compiler bundled with them.
Steps to Install C compiler and Environment Setup
Step 1: Download Turbo C++ software
First of all you need to download Turbo C++ software through Google.
Step 2: Download Turbo C++
Now, click on the link and you will be find an option to download turbo C++ software. Click on it to download.
Step 3: Create turbo c directory in c drive and extract tc3.zip
Now, you will need to create a turbo c directory inside the C drive and extract the downloaded tc3.zip file in the same. Click on INSTALL application file for installation.
Step 4: Permission to install C
When you click on INSTALL application file, the application will prompt a window asking for permission to install or not, press enter to install C.
Step 5: Choose C drive
After pressing enter to install an application a window will appear to choose a drive. Choose C drive.
Step 6: Enter the source path
Enter the source path (TURBOC) in which you want to install and click enter.
Step 7: Start installation
Select the Start Installation option using the down arrow key and then press enter to start installation.
Step 8: C or C++ is installed
Turbo C++ is properly installed in your operating system. If you want to read the document clink enter or close the window.
Step 9: Click on TC application in BIN folder
Now, select TC application, right click on it and run the application or double click to start programming.
Step 10: A blue window will appear
Now, the C environment is ready to start coding in C language and execute your program.
Write your first program to the print "Welcome in C programming" is given below.