C++ programs are usually a collection of C++ code spread across one or multiple source files. The C++ compiler compiles these files and turns them into object files. Object files are linked together by a linker to create an executable file or a library. At the time of the writing, some of the more popular C++
compilers are:
The g++ frontend (as part of the GCC)
Visual C++ (as part of the Visual Studio IDE)
Clang (as part of the LLVM)
3.1 Installing C++ Compilers
The following sections explain how to install C++ compilers on Linux and Windows and how to compile and run our C++ programs. ...