I have already installed Minigw on my 64-bit windows. I have installed VS code as a code editor.I have done the sample C programme to test the vs code. After installing the vs code I have installed all clang extensions
and intelliSense extension
.
My code is:-
#include <stdio.h>
int main() {
int a,b,c;
printf("enter the no.");
scanf("%d%d",&a,&b);
c=a+b;
printf("%d",c);
return 0;
}
The vs code shows the following errors:-
1) Error
Please install clang or check configuration clang.executable
.
2) #include error detected. Please update your includePath. Intellisense features for this translation unit (c:\\user\\h\\Desktop\\codetest.c) will be provided by the tag parser.(1,1)
3) cannot open source file "stdio.h" (1,1)
What are the meaning of this errors?
Base on this link on vscode-github you need to do these steps:
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.