How to Install C and C++ compiler ( gcc g++ gdb ) on Windows 11 using mingw and msys2

Аватар автора
Программистский Класс
Learn how to install MinGW-w64 toolset gcc g++ gdb for developing C and Cpp programs on windows 11 computer using msys2 Software Distribution and Building Platform. ? Follow these commands: 1️⃣ Run: pacman -Syu 2️⃣ Run: pacman -Su 3️⃣ Run: pacman -S mingw-w64-x86_64-gcc 4️⃣ Run: pacman -S mingw-w64-x86_64-gdb ?To compile a C file use this command: gcc test.c -o test ? For compiling a C++ file, use: g++ test.cpp -o test 0:00 Introduction 0:37 Install MSYS2 1:49 Upgrade MSYS2 3:05 Install gcc 4:13 Install gdb 4:55 Set enviroment path 6:50 Testing ? Get started with C and C++ programming on your Windows 11 machine and enjoy the process! ??

0/0


0/0

0/0

0/0