- To convert the program into machine understandable language, compiler is used.
- Compiler vendors provide an (IDE) Integrated Development Environment which consists of an editor as well as compiler.
- Examples of compilers :
- Turbo C, Turbo C++ and microsoft C are compilers that work under MS DOS.
- Visual C++ and Borland C++ are the compilers that work under windows.
- gcc compiler works under linux.
- printf() outputs the values to the screen whereas scanf() receives them from the keyboard.
There are basically three types of instructions in C:
- Type Declaration instruction
- Arithmetic Instruction
- Control Instruction
- Type Declaration Instruction : To declare the type of variables used in C program.
- Arithmetic Instruction : To perform arithmetic operations between constants and variables.
- Control Instruction : To control the sequences of execution of various statements in C programs.
- To create a new file.
- Alt + (F) File -> New
- To open an existing file.
- Alt + (F) File -> Open
- To save a file.
- Alt + (F) File -> Save
- To compile a file.
- Ctrl + F9
No comments:
Post a Comment