Once the installation is complete, click the Continue button to close MinGW Installation Manager Setup Tool.Click on Continue button to start the installation.You can change the installation directory by clicking on the Change button and selecting a different folder. By default the installation directory is set as C:\MinGW.In the MinGW Installation Manager Setup Tool window, click on Install.Right-click on the mingw-get-setup.exe file and run as administrator.The mingw-get-setup.exe file gets downloaded to your computer in the downloads folder. Under the Download List section, look for the Windows download button as shown below and download the setup file. On the official website, click on Downloads tab on the top right corner. You can download the installable from MinGW official website or from any other trusted source.
So, you are required to download and install MinGW tool on your development environment. Gcc and g++ compiler along with other compilers comes together as a package when you install MinGW tool. g++ compiler: Use this compiler to compile C++ programs.gcc compiler: Use this compiler to compile C programs.
If you are a developer and trying to compile your C/C++ program in command prompt, then this article will help you to install gcc compiler and g++ compiler on your Windows 10 computer in order to compile your code.