C++/compiler of C++
QUESTION: what is the compiler of C++ language? does C++ uses any interpreter also?
is the compiler and interpreter of C same as that of C++?
ANSWER: > what is the compiler of C++ language?
C++ is a statically typed, free-form, multi-paradigm, compiled language where compilation creates machine code for a target machine hardware.
> does C++ uses any interpreter also?
no. C++ is not interpreted. but both C and C++ have a preprocessor phase as the first part of the translation.
> is the compiler and interpreter of C same as that of C++?
the preprocesor is the same, the compilers are technically different.
however, most C++ compilers would can also compile C code. the compiler is a single program that operates in two 'modes': either the 'C' mode or the 'C++' mode. the 'mode' is determined by either the command line options or the name of the source file. for example, see:
---------- FOLLOW-UP ----------
QUESTION: so turbo C++ is compiler of C++ and turbo C is compiler of C. is it?
Turbo C++ is a C++ compiler and integrated development environment (IDE)
from Borland. its compiler can also compile C code.
Turbo C (now obsolete) was an Integrated Development Environment (IDE) and compiler for C from Borland. in 1990, Borland replaced Turbo C with (also now obsolete) Turbo C++ 1.0
the only conforming (to ISO C or C++ standard) Turbo brand compiler is Turbo C++ 2006 (part of the Turbo Explorer suite). http://www.turboexplorer.com/cpp