How To Install C Compiler
Hey guys in this part we are going to share how to install c compiler on your computer.
Before start installing c compiler first you need to know why to use c compiler. As you know computer only understand the machine level language in form of 0’s and 1’s.
For convert the c program source code in machine level language, the compiler is used.
There are so many c compilers available on the internet like Turbo C++, Codeblocks, etc. But turbo c++ is one of the best and recommended c compiler. The turbo c++ is work for both c and c++ programming language.
How To Install Turbo C++ In Windows
Follow the below steps to install turbo c++ in you pc.
- First, download the latest version of the turbo c++.
- After download creates a new directory turboc in your c drive. And extract the turbo c++ zip file in a turboc directory.
- Now click on install icon for install turbo c++.
- For create new c program click on file under new option and write your program.
printf(" Hello World! ");
- Now save program using F2 button and extension of a file is “c”.
- In below example, we save the file name as “myprogram.c”.
- For compile program press Alt + F9 key.
- If your program is successfully compiled then press Ctrl + F9 key to run it.
The output of a program is given below.