'How to update the cpp version in vs code?

so I am working on c++17 on vs code, and the compiler works fine. But I believe the ide linter is configured on an old version such as 98 for example. Whenever I use a feature that exists in c++11 and above, it shows a warning and sometimes an error that this is a c++11 extension. However, it compiles and works fine, but the error is still there. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source