r/vscode • • 4d ago

Can't run C Program on my visual studio code

Post image

Please help. I can't run c program. The terminal don't work.

0 Upvotes

5 comments sorted by

4

u/adityaruplaha 4d ago

You're using MinGW but with windows style paths. Look at how your current directory is formatted.

1

u/torat-hossain 4d ago

How to fix it? I want to run the code with the play button. But now i have to write some bash code to run it. Plz

1

u/Qicken 4d ago

you never tried to run the program. It failed on the cd command

1

u/torat-hossain 4d ago

How to fix it? I want to run the code with the play button. But now i have to write some bash code to run it. Plz

1

u/F4LC0N69 4d ago

Bro quick tip: Don't use whitespace in folder names. Use snakecase or camelcase if you have to