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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -