Skip to content
Discussion options

You must be logged in to vote

Hi everyone, I'm having trouble setting up C programming in Visual Studio Code. I have installed VS Code, but I'm not sure how to properly install the C compiler or configure the environment to compile and run C programs. Whenever I try to run my C code, I get errors or nothing happens.

Hi @youssef394948
To set up C programming in VS Code on Windows, a great solution is to install MinGW (Minimalist GNU for Windows). Start by downloading and installing MinGW from MinGW, and make sure to add its bin directory to your system's PATH environment variable. After that, install the C/C++ extension by Microsoft in VS Code for features like IntelliSense and debugging. This will allow you to compi…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@youssef394948
Comment options

Answer selected by youssef394948
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Question Ask and answer questions about GitHub features and usage
4 participants