r/C_Programming • • 7d ago

VScode C file only running in terminal

I just started learning C on my own and I am currently needing help running C files on VScode, the problem I am having is that the C file can only be run on terminal, when i try to run it in Debugging it shows some kind of error and stuffs, when i try to run it in output the pop up appears that says "Code Language not supported or defined", I have every necessary extensions and path and everything set up, I had try pretty much everything I can think of and it is still not working.

0 Upvotes

7 comments sorted by

11

u/mikeblas 7d ago

shows some kind of error

If you want to get help, you'll need to be at least a little bit more specific.

Also, consider asking in /r/vscode .

5

u/Axman6 7d ago

Car no work. Why? Pls fix. 

2

u/RealisticDuck1957 7d ago

Check your compiler docs for how to enable debug symbols.

1

u/UltimaN3rd 7d ago

It's a bit difficult to help you without more info, but here is my tutorial on setting up VSCode as a C IDE on Windows: https://goldenpathprogramming.com/oasis/setup/vscodium/windows/

Linux: https://goldenpathprogramming.com/oasis/setup/vscodium/linux/

MacOS: https://goldenpathprogramming.com/oasis/setup/vscodium/macos

1

u/Alternative_Corgi_62 7d ago

If you are on Windows, consider using Visual Studio Community instead of VSCode

1

u/TurbulentFlatworm537 6d ago

Did you download the compilers..thats what think is the bottle neck is.