Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22113

C file not compiling successfully in VS code even though gcc working

$
0
0

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..


Viewing all articles
Browse latest Browse all 22113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>