MacOS clang: error no input files

Did you open a folder? Opening the folder in VS Code means that the terminal will open in that directory.