Install Clang Windows -

From the Start Menu, launch MSYS2 UCRT64 . This terminal targets native Windows 64-bit using the UCRT runtime.

Run the following commands:

Compile with:

Save as error.cpp . Run: