Skip to main content Link Expand (external link) Document Search Copy Copied Introduction to C++ for Python Programmers Installation Instructions Installation Instructions Table of contents Installation Instructions Install a C++ compiler Install on WSL Throubleshooting Install a C++ compiler Download & Install VSCode Get the latest version of MinGW-w64 via MSYS2 , download page , (about 100 MG downloaded, size of installation folder: about 1.5GB, installation duration: about 30 min) Config MinGW in VSCode Follow steps 1-7 of the mentioned site. Installing the following extensions in VSCode: C/C++ for Visual Studio Code C/C++ Compile Run In C/C++ Compile Run ’s setting change the value of C-cpp-compile-run: Cpp-Copiler
to C:\msys64\ucrt64\bin\g++
In C/C++ Compile Run ’s setting change the value of C-cpp-compile-run: Cpp-flags
to -std=c++20
Install on WSL Throubleshooting