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

Developer technologies | C++
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YujianYao-MSFT 4,296 Reputation points Microsoft External Staff
    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.

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.