How to install the MinGW compiler in windows?

To compile C/C++ programs, you need to install the MinGW compiler.

Follow the steps given below:

Step 1:

Download the MinGW by clicking here.

Step 2:

Open the file and extract it into your (C:) drive.

MinGW

Step 2:

After extracting locate the MinGW folder in your (C:) drive and open it.

MinGW

Step 3:

Open the bin folder.

MinGW

Step 4:

Now copy the path by right click on bin –> copy address.

The address should be C:\MinGW\bin

MinGW

Step 5:

Now go to This PC, right-click and go to the Properties.

or, go to your device Settings–>System–>About–>Advanced system settings.

MinGW

Step 6:

Open Advanced system settings.

MinGW

Step 7:

Open Environment Variables.

MinGW

Step 8:

Select Path and then click on Edit.

MinGW

Step 9:

Click on New and paste the copied path and click on OK.

MinGW

Step 10:

Closed all the dialog boxes by clicking on OK.

Now if you want to check if the installation is done or not, go to the command prompt of your PC and type gcc --version and then press enter.

MinGW

If you can see this type of message, congratulations you have successfully installed the MinGW compiler on your windows machine.

Related Posts

How to Install Ubuntu in Windows 11 using VirtualBox?

If you are an engineer, I am sure you will definitely encounter a situation where you will need to work on multiple operating systems. One way to…

How To Password Protect Any Folder In Your Computer Without Using Any Third-Party Software?

আমি আপনাদের এমন একটি উপায় বলব যার সাহায্যে আপনারা আপনাদের কম্পিউটার (উইন্ডোস 10) -এর কোনো ফোল্ডার কে সহজেই পাসওয়ার্ড দিয়ে সুরক্ষিত করতে পারবেন কোনো থার্ড পার্টি সফটওয়্যার…

Leave a Reply

Your email address will not be published. Required fields are marked *