When I type gcc, it does not show any error meaning compiler working andgcc -g main.c -o file.exe
does not create an.exe file to execute;when I run the code it gives :cd "c:\Users\Shourya\Desktop\Coding\C\" ; if ($?) { gcc tut1.c -o tut1 } ; if ($?) { .\tut1 }
tut1 being the file name.When I try to use compile run extension it just simply displays "Error Compiling".I have added gcc in path and I have also configured compiler in VS Code. Please do help..
↧
C file not compiling successfully in VS code even though gcc working
↧