C++ Compiler & IDE
What is a Compiler?
A compiler is a software program that converts high-level source into low-level object code in machine language. The process of converting high-level language into machine language is known as compilation. The processor executes object code, which indicates when binary high and low signals are required in the arithmetic logic unit of the processor. Explain C++ is a high-level language. A high-level programming language understandable by us humans. Its words and phrases similar to English or another human language. But a computer does not understand high-level programming language that ate readable for a human. The computer understands the only binary language that is based on 1’s and 0’s, it is called the machine code. A program written in the high-level programming language is called a source code. If we want to convert source code into machine code then we need a Software, called compiler or Interpreter that convert high language to machine language What is the Difference between Compiler and Interpreter?Comparison | Compiler | Interpreter |
Techniques | Convert entire program to machine language | Convert program one statement at a time into machine language |
Examples | C / C++ languages use compiler | Ruby, Python, Basic use Interpreter |
Speed | The compiler is Faster than an interpreter | The interpreter is slower than the compiler |
Debugging | Errors check on Entire program | Errors check on Line By Line of the program generated |
Memory | More memory due to object code is generated | Use less memory due to no intermediate object code |
- Borland C++ / Turbo C++ [Old and most popular IDE]
- Visual C++ [Microsoft Platform]
- Dev C++
- GCC
- Eclipse