- The first step is to make sure you have the C++ extension in VSCode.
2. Make sure you have Clang installed by opening a terminal window and typing
clang --version. If it’s not installed, type
3. Write some basic source code in a .cpp file. In this case, I’m just using the code for printing hello world:
#include <iostream>int main()
std::cout << "Hello World!";
4. Compile with
5. Run with