If you have access to a Windows machine, it might be simpler to install mingw on it and compile on it directly. (And mingw's gcc won't generate binaries that depend on cygwin1.dll.) ...
To configure VS Code for Microsoft C++, follow the steps mentioned below. Download and install Microsoft Visual Studio Code Install C++ Extension Install and setup the MinGW Compiler Set the path and ...