How to Check the Version of the GCC C++ Compiler Installed on a Windows PC (2024)

How to Check the Version of the GCC C++ Compiler Installed on a Windows PC (1)

In this article, we show how to check the version of the GCC C++ compilerinstalled on a Windows PC.

So you may be able to check the version of the C++ compiler you have installedon your computer by going through your computer file system and seeing wherethe compiler was installed and then looking at the version.

But another, probably better way of doing it, is to go to the command prompt on a Windows PC and typing in the following line shown below.

After you run this, the command prompt will return the version you have installed of the GCC C++ compiler.

So you can see in this case that the version of the GCC C++ compiler that I haveinstalled on my Windows PC is g++ 8.1.0.

So if you ever need to check the version of the GCC C++ compiler that you haveinstalled on your PC, you can do it through the command prompt by typing in the single line, g++ --version, and this will return the result.

So this is how to check the version of the GCC C++ compiler installed in windows.

Related Resources

HTML Comment Box is loading comments...

How to Check the Version of the GCC C++ Compiler Installed on a Windows PC (2024)
Top Articles
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 5792

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.