Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

Why doesn't the compiler work for C language using Visual Code?

$
0
0

I just wrote my first program using C language in Visual Code. I don't have any errors but the program won't compile. At the terminal, I'm typing clang cardsa.c. It's giving me errors that clang doesn't exist. I tried typing clang -o and got the same error that clang doesn't exist. How do I compile this?

I also tried coding this in CodeBlocks but when I ran the program I kept getting errors that the program needed to Build first, which I clicked and it didn't do anything. I tried this several times, clicking on Build and when it failed after multiple attempts, I switched to Visual Code.


Viewing all articles
Browse latest Browse all 97327

Trending Articles



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