-2

Got to "c_cpp_properties.json" but i don't know where to continue after that.

Code:

#include <stdio.h>
#include <stdlib.h>
int main(void) {
    return 0;
}

Error that gives:

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\Utente\Documents\C\119.c).C/C++(1696)
cannot open source file "stdio.h"C/C++(1696)
sac11221
  • 1
  • 2
  • Hi, welcome to Stack Overflow. Please use a short, descriptive title and put the context for your question into the description body. Also, please put the plain text of your code/error in the question instead of an image. There are tools in the question editor to help format your code. – irowe May 11 '22 at 19:27
  • okay @irowe edited now, is this the correct way, right? – sac11221 May 11 '22 at 19:35
  • VSCode needs to know where your compiler and C library header files are. There are a few questions on SO regarding this, such as this one: https://stackoverflow.com/questions/51883754/visual-studio-code-gives-me-include-error-detected-for-c. check that out and see if it helps. – irowe May 11 '22 at 19:51

0 Answers0