简体   繁体   中英

VScode C/C++ intellisense include error squiggle

I'm using vscode with C/C++ intellisense and i'm having includepath problems.

For instance, for the line

#include <iostream>

i get these 2 errors:

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit

cannot open source file "iostream"

I've tried different configurations but I'm not able to solve the issue. Can someone please give me the correct config for .vscode? thanks

I'm using vscode with C/C++ intellisense and i'm having includepath problems.

For instance, for the line

#include <iostream>

i get these 2 errors:

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit

cannot open source file "iostream"

I've tried different configurations but I'm not able to solve the issue. Can someone please give me the correct config for .vscode? thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM