VS Code C++ Code Demo - Example main.cpp file
- Install VS Code Cpp tools
- Add c_cpp_properties.json file
- Create /build folder
- Create CMakeLists.txt
- Add tasks.json and create tasks form CMake files and compilation (MinGW setup)
More info about the steps: https://medium.com/audelabs/c-development-using-visual-studio-code-cmake-and-lldb-d0f13d38c563