Question:
Ok so I am having an issue with errors in VSCode. Basically I decided to reorganize and move my header files into a separate folder, “include”. My directory put simply is as follows:Any assistance would be appreciated.
Answer:
You need to put that folder’s path to theInclude path
. One way to do that is shown below. The screenshots are attached with each steps so that it(the process) would be more clear.Step 1
Press
Ctrl + Shift + P
This will open up a prompt having different options. You have to select the option saying Edit Configurations

Step 2
After selecting Edit Configurations a page will open with different options. You have to scroll down and go the the option saying Include Path and just paste the path to your include folder there.

Below is the picture after adding the
include
folder’s path into the Include Path
option.
Step 3
Now after adding the path to the include folder into the
Include path
field you can close this window and all the vscode errors that you mentioned will not be there anymore.If you have better answer, please add a comment about this, thank you!