Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check c++ version in windows

Tags:

c++

version

When I try

cpp -v

It shows I have gcc 4.9.2 installed. How do I check the current C++ version that I have installed on my Windows computer ?

Thanks !

EDIT:

Trying with

g++ -v

gives me this result -

enter image description here

like image 236
julianff Avatar asked Jun 28 '17 08:06

julianff


3 Answers

Try using g++ --version command at cmd Because for me also g++ -version or g++ -v command hasn't worked.

like image 107
Jupiter Debbarma Avatar answered Oct 17 '22 15:10

Jupiter Debbarma


g++ -v (To check g++ version in window through cmd workes fine)

like image 23
ARPIT MISHRA Avatar answered Oct 17 '22 15:10

ARPIT MISHRA


Just use g++ -v or gcc -v which will give you your compiler version.

You can also go to your windows settings, click on "Apps" go to the search bar and search up c++ scroll down to the last item, and click on it. The version should be displayed fairly obviously for you.

Microsoft Visual C++ version displayed from Microsoft Window's Settings

like image 1
Christian Thone Avatar answered Oct 17 '22 16:10

Christian Thone