compiler is a software program which converts user written high level language program (also known as source program) into machine language. Computer can understand only machine language so before executing any program we need to convert it into machine language. When we compile any program it is converted into machine language which creates an object file. If a program has errors, compiler can not create an object file. When compilation errors exists it displays to the user by some error messages. Just suppose in Language C++ you forgot to put a ; semcolon at the end of the statement. Compiler raise an error "Statement missing". Compiler can show punctuation errors, syntax errors but can not show logical errors. Just suppose you have written a program to calculate simple interest and your formula of simple interest is wrong then the compiler can not show errors and the program will be executed successfully. There are seperate compilers available for each language. If you want to compile a program which is written in Pascal you nee a pascal compiler.
Most Popular Articles
- How to create picture package in Photoshop
- How to change financial year in Tally
- How to set classic start menu in Windows XP
- Pyramid of stars in C (center aligned)
- Exit function in C
- Create a bacground for your image in Photoshop
- C program to generage a beep sound
- How to create bookmark in Microsoft Word
- How to compile and run JAVA programs
- C program to add subtract multiply and division
- How to format Nokia 6600 mobile phone
- JAVA Applet program for doing simple calculations
- How to Improve Windows Vista performance
- C program to add two given numbers







0 comments:
Post a Comment