I am new to programming and my university wants me to use an IDE for CS assignments. I am using VS Code, which worked perfectly fine with BigSur but has been giving me this error when I try to build a C++ program with the clang++ compiler with Mac OS Monterey.
/usr/bin/clang++ -fdiagnostics-color=always -g /Users/ma1i/C++_Programs/CS1136_Programs/lesson5part2.cpp -o /Users/ma1i/C++_Programs/CS1136_Programs/lesson5part2
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun