A blog about learning C and C++

The choice of C++ compilers and editors

January 12, 2025, by Slobodan Dmitrovic

Which C++ compiler should you choose when starting with C++? Which editor or IDE for writing C++ code? There are many options to choose from, and we list some of the production quality options here.

Some of the most popular C++ compilers are:

  • Microsoft Visual C++ (as part of the Visual Studio IDE), referred to as MSVC, or simply Visual Studio
  • g++ (as part of the GCC), referred to as GCC
  • clang++ frontend compiler (as part of the LLVM), referred to as Clang

How to write and compile C++ code on different operating systems?

Writing and compiling C++ code on different OS-es options:

  • On Windows, we can opt for Visual Studio IDE (either the Community version or the Pro version)
  • On Linux, we can opt for the Visual Studio Code + GCC combination
  • On macOS, we can opt for the Visual Studio Code + XCode command line tools combination
Learning C++, the choice of C++ compilers

These C++ editors and compilers are of production quality and are widely used in commercial environments.


For more info, contact us at contact@cppsrc.com.

Download the Brochure