Visual Studio Code getting c++ executable? -
how executable put in launch.json? have followed steps on https://code.visualstudio.com/docs/languages/cpp#_getting-started not getting executable. additonal steps required achieve this?
launch.json
{ "version": "0.2.0", "configurations": [ { "name": "(windows) launch", "type": "cppvsdbg", "request": "launch", "program": "${workspaceroot}/a.exe", "args": [], "stopatentry": false, "cwd": "${workspaceroot}", "environment": [], "externalconsole": true } ] }
tasks.json
{ // see https://go.microsoft.com/fwlink/?linkid=733558 // documentation tasks.json format "version": "2.0.0", "tasks": [ { "taskname": "echo", "command": "g++ -g test.cpp", "type": "shell" } ]
}
Comments
Post a Comment