Uploaded December 2023 | Updated September 2026, 1 week ago
In this beginners C/C++ tutorial, you will learn downloading and installing the latest version of the C/C++ toolset (GCC) on a Windows 11 operating system. We also cover how to install the debugger (GDB) for debugging your C/C++ programs. The tutorial will guide you from setting up MSYS2, updating necessary packages, to installing the required toolchain for C and C++ development. We also show you how to set up the path variable to make sure you can run GCC and GDB from any folder in your system. Finally, we verify the installation by checking the version of GCC and GDB.
This video will help you set up a complete development environment for C and C++ programming on Windows 11. It is ideal for beginners who want to start coding in C or C++ and need a solid toolset. If you're facing any issues during the installation or setup, feel free to post your questions in the comments section below, and I'll try my best to assist you.
In the video, you'll learn how to download MSYS2 from its official website and install it on your Windows 11 machine. After installing MSYS2, you'll run some simple commands to update the package manager and install the C/C++ toolset, including GCC,G++ and GDB. I’ll also walk you through the process of updating your system’s path variable to make sure everything is accessible from any folder.
Command to Check for updates
pacman -Syu
Command to install C, C++ Toolset and gdb debugger
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
To check use commands
gcc version : gcc --version
g++ version : g++ --version
gdb version : gdb --version
Our Website
LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
In this beginners C/C++ tutorial, you will learn downloading and installing the latest version of the C/C++ toolset (GCC) on a Windows 11 operating system. We also cover how to install the debugger (GDB) for debugging your C/C++ programs. The tutorial will guide you from setting up MSYS2, updating necessary packages, to installing the required toolchain for C and C++ development. We also show you how to set up the path variable to make sure you can run GCC and GDB from any folder in your system. Finally, we verify the installation by checking the version of GCC and GDB.
This video will help you set up a complete development environment for C and C++ programming on Windows 11. It is ideal for beginners who want to start coding in C or C++ and need a solid toolset. If you're facing any issues during the installation or setup, feel free to post your questions in the comments section below, and I'll try my best to assist you.
In the video, you'll learn how to download MSYS2 from its official website and install it on your Windows 11 machine. After installing MSYS2, you'll run some simple commands to update the package manager and install the C/C++ toolset, including GCC,G++ and GDB. I’ll also walk you through the process of updating your system’s path variable to make sure everything is accessible from any folder.
Command to Check for updates
pacman -Syu
Command to install C, C++ Toolset and gdb debugger
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
To check use commands
gcc version : gcc --version
g++ version : g++ --version
gdb version : gdb --version
Our Website
LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial










