November 21, 2024

How to Install GCC C++ Compiler in Windows – MinGW

In this video tutorial, we explain how to properly install MinGW C++ Compiler tools in Windows. MinGW is a compact and powerful compiler and debugger for Windows. MinGW is a version of the GNU Compiler Collection (GCC) that is originally developed for Linux and Unix machines. The complete tutorial explaining how to install this C++ compiler in Windows is given below.

To download the installation file of the C++ compiler go to this webpage:

https://nuwen.net

and then find an appropriate download file, and download it, and install it. Then, add the installation file to the Windows path, and to test the installation, open a windows command prompt and type

g++ --version

If you see a response that looks like this, this means that you have successfully installed C++ compiler for windows

g++ (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.