Requirements for this template to work
- To run this template you should have GCC C++ compiler and the C/C++ extension for VS Code. To setup both, follow this https://code.visualstudio.com/docs/cpp/config-mingw#_prerequisites
How to run this project
- Clone this repo
- Open this repo as a folder in Visual Studio Code
- Open .vscode/c_pp_properties.json and set the "compilerPath" variable to your g++ compiler path (usually found in mingw/bin)
- Open .vscode/launch.json and set the "miDebuggerPath" variable to your gdb.exe path (usually found in mingw/bin)
- Open .vscode/tasks.json and set the "command" variable to your g++ compiler path (usually found in mingw/bin)
- In VSCode menu under
Run
option selectg++.exe - Build and Debug active file