How can I update my C++ version on VSCode to C++20?

  c++, c++20, numbers, visual-studio-code

I am attempting to add the numbers header to my program for pi and euler’s number, but my C++ version is C++14, and while I’ve added "-std=c++2a" to tasks.json and changed the C++ standard to C++20 on the "C/C++" extension, the __cplusplus macro still outputs the indicator for C++14. What else should I try in order to enable C++20? Also GCC ver 9.2.0 is being used.

Source: Windows Questions C++