my environment: Version: 1.61.2 MacOS: 12.0.1 (21A559)
i want to code c program in VS Code,so i installed C/C++ and Code Runner extension in VS Code. and written following code:
int main()
{
printf("Hello from VS Code\n");
return 0;
}
and then i click the Run Code Button,the output prints the error as image show:
and then i go to terminal in VS Code to find more detail info as shown in next image:
i want known what i should do to fix it?