#include errors detected in vscode

后端 未结 11 1051
名媛妹妹
名媛妹妹 2020-12-09 01:00

I am using Visual Studio Code in my C++ project. I installed Microsoft C/C++ Extension for VS Code. I got the following error:

#include error

11条回答
  •  星月不相逢
    2020-12-09 01:52

    I ended up here after struggling for a while, but actually what I was missing was just:

    If a #include file or one of its dependencies cannot be found, you can also click on the red squiggles under the include statements to view suggestions for how to update your configuration.

    source: https://code.visualstudio.com/docs/languages/cpp#_intellisense

提交回复
热议问题