Compiler and the usage of it

Asked By 10 points N/A Posted on -
qa-featured

What is a compiler and what can be the usage of it in C++ programming?

SHARE
Best Answer by Hoting Gracia
Best Answer
Best Answer
Answered By 5 points N/A #102664

Compiler and the usage of it

qa-featured

Hi Hudson, generally the simplest language C++ is a language that is developed from C which is a programming language that is developed at AT & T's Bell Laboratories of USA in 1972 by Dennis Ritchie who Designed and written it completely and C became popular due to its ease of use and advantages and extra features are added to C++.

Compiler in any language the meaning is same in brief one can say that checking of the errors and rectifying them and can display the errors where they occurred.

Compiler is the one which translates code from machine leave that is to exe format and will be stored in a folder as compiler vendors provide an Integrated Development Environment(IDE) which contains an editor as well as an compiler.

There are several IDE and which to use will be depend on the programming language you are working and performing your task to get executed.

Thank You.

Answered By 40 points N/A #102665

Compiler and the usage of it

qa-featured

Hi there , 

I think you need help regarding the compiler in programming language. 

Compiler converts the program written in high level language into machine language but the conversion manner is different. unlike the interpreter which converts each line by line the Compiler converts in one go that is wholly.

It reports all the errors of the program along with the line numbers. After all errors of the program along with line numbers., the program is recompiled and then the compiler is not needed in the memory as the object program is available .

This is an advantage over the interpreter that even though the problems are corrected the interpreted is present in the memory which not only uses more memory but also makes the overall process slow.

Answered By 10 points N/A #102666

Compiler and the usage of it

qa-featured

Very well. Now I've got all the ideas about compiler and its use. I need to explore more about the C+ program features and application.

Thanks a lot Techyv

Related Questions