Need information

Tasnim Oyshi 1 Reputation point
2020-08-19T08:59:04.937+00:00

Hi,

I have been trying to know which c++ version am I working within visual studio. When I checked in the package it shows C++ 2010, C++ 2013 andC++ 2015-2019. I would like to know if all the programs are working together or just the latest version!

Thanks in advance.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,764 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Mahmud Elahi Akhter 1 Reputation point
    2020-08-19T17:45:48.44+00:00

    Hello, not entirely sure if this will fit your workflow but maybe setting up the standard yourself might be helpful. You can check how to over here https://stackoverflow.com/questions/41308933/how-to-enable-c17-compiling-in-visual-studio

    0 comments No comments

  2. Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
    2020-08-20T02:43:27.503+00:00

    Could you please tell us, which version of VS are you using?

    According to the Doc, C++14 is default for vs2019, vs2017, vs2015, which disables language and standard library features found in later versions of the C++ language standard.

    As far as I'm concerned, you could set the c++ version for visual studio in the property page.
    Configuration Properties -> C/C++ -> Language -> C++ Language Standard.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.