This video will:
1. Show you the code used to Build and run C++ code
2. Give a little explanation of how it works
The "Run" part
{
"label": "Build and Run C++ OpenGL Code in External Terminal",
"type": "shell",
"command": "cmd",
"args": [
"/C",
"start",
"cmd",
"/K",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
"runAfter": {
"tasks": ["Build and Run C++ Program in External Terminal"],
"group": "build"
},
"dependsOn": "Build OpenGL Code Only Task",
"detail": "Build first then Run code in external cmd."
},