Learn how to install and run C and C++ programs in Visual Studio Code on Windows 11 with this complete beginner-friendly tutorial. In this step-by-step guide, we will cover how to download and install the GCC compiler (MinGW-w64), set up environment variables, install Visual Studio Code, and configure it properly to write, compile, and run C/C++ programs.
Chapters / Timestamp:
00:00 Introductuin
00:20 Installing GCC G++ GDB ( mingw-w64 )
02:43 Update Path Environment Variable with C C++ Install Location
05:63 Verify gcc g++ gdb Installation
06:58 Installing VS CODE
09:08 Setup VS CODE WorkSpace
11:59 Installing VS Code Extensions for C / C++
11:34 Run C Program
Tutorial explaing the Hello World Program used : • C Programming for Beginners | Hello World ...
This tutorial is perfect for beginners who want to start programming in C or C++ using VS Code. You’ll also learn how to install required extensions, create a workspace, and run your first Hello World program successfully.
🔹 What you will learn in this video:
How to download and install GCC (MinGW-w64) on Windows 11
How to set environment variables (PATH) correctly
How to install Visual Studio Code
How to install C/C++ extensions in VS Code
How to configure VS Code for C and C++ programming
How to write, compile, and run a C program
How to fix common errors (GCC not recognized issue)
Setting C and C++ standards (C23 & C++26)
🔹 Tools Covered:
GCC Compiler
MinGW-w64 Toolchain
Visual Studio Code
C/C++ Extension Pack
💡 Whether you're a student, beginner, or aspiring developer, this tutorial will help you set up your coding environment quickly and efficiently.
📌 Don’t forget to LIKE, SHARE, and SUBSCRIBE for more programming tutorials!