This repository contains a port of getopt which can be used with Visual C++. It is intended to be used with vcpkg.
The Visual C++ port was originally done by Ludvik Jerabek, and described in the Full getopt Port for Unicode and Multibyte Microsoft Visual C, C++, or MFC Projects article. This repository contains a copy of that code and the article.