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.