How to Change Default C++ Standard Visual Studio 2022

S Lavender 1 Reputation point
2022-07-03T20:59:15.497+00:00

I know how to change the C++ standard for an individual project but I wanted to know if I could change the default from C++14 to C++17 or C++20.

Any idea how I could do this?

Thanks Stephen

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,540 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YujianYao-MSFT 4,281 Reputation points Microsoft Vendor
    2022-07-04T01:49:13.477+00:00

    Hi @S Lavender ,

    I suggest you create a project template, please read this issue carefully for detailed steps.

    Best regards,

    Elya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.