Hi SuryanshGoel,
You can refer to this document: Using GCC with MinGW, then try to re-configure your C++ environment.
Since VS code is not supported in Microsoft Q&A forum, please go to stackoverflow with visual studio code tag, then the community members will provide dedicated supported for you.
Best Regards, Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
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.**