Any GCC, Clang or MSVC compiler
- Coding Tools Extension Pack (franneck94)
- C/C++ Extension Pack (franneck94)
"C_Cpp_Runner.cppStandard": "c++20",
- Compile (Build) Single File: Ctrl+Alt+B
- Execute (Run) Single File: Ctrl+Alt+R
For the Compile (Build) Single File and Execute (Run) Single File command you can see the key combinations here:
You are also free to use the MSVC compiler (from e.g. VS2022) in my C/C++ Runner extension.
To do this, you must have the following line in the .vscode/settings.json file:
"C_Cpp_Runner.useMsvc": true,