Answer the question
In order to leave comments, you need to log in
How to find c++ version?
I am using visual studio. I used to think I was using the latest version of c++ (c++17). But now I'm not sure, I would like to check somehow in the compiler which version of the language I'm using. How can I find out?
Answer the question
In order to leave comments, you need to log in
MSVC traditionally specifies an obsolete version in __cplusplus, because they didn't implement a two-pass preprocessor for a long time. So only through _MSC_VER.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question