Back to course

Setting Up the Environment

C++ Masterclass: From Zero to Hero

Tools You Need

To write and run C++ code, you need two things:

  1. A Compiler: Translates C++ code into machine code (e.g., GCC, Clang, MSVC).
  2. An IDE/Text Editor: Where you write the code (e.g., VS Code, Visual Studio, Code::Blocks).

Installation Steps

  • Windows: Install Visual Studio Community or MinGW.
  • Mac: Install Xcode command-line tools.
  • Linux: Use sudo apt install build-essential.