- Download MinGW - Minimalist GNU for Windows from below link –
- Now run the installer as admin. It will download some files and then open the MinGW download manager
- Select MinGW base and MinGW G++ (for c++ compilation) check boxes
- Go to File -> Apply Changes. The selected options will be installed.
- Add the below path to System Path in environment variable
“C:\MinGW\bin”
- Now you can try to verify in g++ is installed properly by running the below command in Command Promt –
g++ --version
Comments