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

Read more here: https://stackoverflow.com/questions/64959258/vscode-c-c-intellisense-include-error-squiggle

Content Attribution

This content was originally published by Francois Vogel at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: