Horje
Visual studio code include path not working c++ Code Example
Visual studio code include path not working c++
// task.json
// add this line (with your path) '"-Ipath/to/my/include/files",' to first line in "args"[]
// example:
{
  	"version": "2.0.0"
    "tasks": [
        {
          	//...
            "args": [
              	"-I${workspaceFolder}\\Headers",
                "-g",
                "${file}",
                "-o",
                "${fileDirname}\\${fileBasenameNoExtension}.exe"
            ],
          	//...
            "options": {
                "cwd": "${fileDirname}"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "detail": "Task generated by Debugger."
        }
    ],
}




Cpp

Related
cpp get last element of vector Code Example cpp get last element of vector Code Example
string split by space c++ Code Example string split by space c++ Code Example
cmake define standard c++ Code Example cmake define standard c++ Code Example
New Year's Eve Code Example New Year's Eve Code Example
binary search c++ Code Example binary search c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9