How to Setup Visual Studio Code and Run C Program | GCC Compiler, Extensions Installation Explained

Published: 08 February 2025
on channel: LearningLad
3,423
44

In this tutorial, I'll walk you through the entire process of setting up Visual Studio Code to run C programs on your Windows machine. From downloading and installing the necessary compiler (GCC) to configuring Visual Studio Code, this video covers everything you need to know to start coding in C language.

What you'll learn:
How to download and install the GCC compiler
Setting up the MSYS2 environment for C and C++ development
Installing Visual Studio Code (VS Code) and necessary extensions
How to create and run your first C program in VS Code

Commands used
for installing Compiler : pacman -S mingw-w64-ucrt-x86_64-gcc
For Installing Debugger : pacman -S mingw-w64-ucrt-x86_64-gdb

Timestamps:
00:00 - Introduction
00:26 - Installing the GCC Compiler with MSYS2
04:51 - Setting the Path Environment Variable for GCC
07:15 - Check Proper installation of Gcc Gdb
08:28 - Installing Visual Studio Code (VS Code)
09:50 - Setting Up VS Code for C Programming and Running Your First C Program in VS Code

Our Website
https://www.LearningLad.com

Social Media
Facebook   / learninglad  
Twitter   / learningladedu  
Instagram   / learningladofficial  


On this page of the site you can watch the video online How to Setup Visual Studio Code and Run C Program | GCC Compiler, Extensions Installation Explained with a duration of hours minute second in good quality, which was uploaded by the user LearningLad 08 February 2025, share the link with friends and acquaintances, this video has already been watched 3,423 times on youtube and it was liked by 44 viewers. Enjoy your viewing!