Share via

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.

Developer technologies | C++
Developer technologies | 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.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
    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.

    Was this answer helpful?

    0 comments No comments

  2. 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

    Was this answer helpful?

    0 comments No comments

Your answer

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