Local Environment Setup
If you want to set up your environment for C programming language, you need the following two software tools available on your computer:(a) Text Editor
(b) The C Compiler
(A)Text Editor:
This will be used to type your program. Examples of few a editors include Windows Notepad, OS Edit command, Brief, Epsilon, EMACS, and vim or vi.
The name and version of text editors can vary on different operating systems. For example, Notepad will be used on Windows, and vim or vi can be used on windows as well as on Linux or UNIX.
The files you create with your editor are called the source files and they contain the program source codes. The source files for C programs are typically named with the extension ".c".
Before starting your programming, make sure you have one text editor in place and you have enough experience to write a computer program, save it in a file, compile it and finally execute it.
(B)The C Compiler:
The source code written in source file is the human readable source for your program. It needs to be "compiled", into machine language so that your CPU can actually execute the program as per the instructions given.
The compiler compiles the source codes into final executable programs. Here, we are going to use the compiler "Turbo C".
You can download the setup of "Turbo C" Compiler from here:
Installation:-
1. Double click on the file
"Setup_TurboC_7_v2.1.rar" which you downloaded, open with WinRAR
[or extract it] and open "Setup_TurboC_7_v2.1.exe".
2. Just click on Next and Install.
3. You're done!!! 😉
No comments:
Post a Comment