I updated to macOS monterey yesterday and my vs code is not compiling any code since then. It is throwing these errors :
#include errors detected. Please update your includePath. Squiggles are
disabled for this translation unit (/Users/ishudhariwal/contest.cpp).
cannot open source file "endian.h" (dependency of "iostream")
It was working perfectly fine on BigSur. I am a beginner at programming. I can't figure out what's going wrong and how to fix it.
Try installing Xcode Command-line Tools. Most probably this will solve the issue.
Try the following.