using Clang in windows 10 for C/C++ – Stack Overflow

Under “Desktop development with C++” also select “C++ clang tools for windows” Click install and clang will be usable to you through the commandline, just like the CS50 terminal. You usually won’t have to worry too much about playing with extra cmdline options other than the ones cs50 has taught you. To create a C project in VS with clang-

 https://stackoverflow.com/questions/63914108/using-clang-in-windows-10-for-c-c