Click here to Skip to main content
15,867,686 members
Articles / General Programming / Parser

C++ Replacement for getopt

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
2 Jan 2023MIT6 min read 16K   250   21  
Parser for command line options
In this article, you will find a simple C++ replacement for the traditional C getopt parser with most of the flexibility required by the POSIX standard.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Canada Canada
Mircea is the embodiment of OOP: Old, Opinionated Programmer. With more years of experience than he likes to admit, he is always opened to new things, but too bruised to follow any passing fad.

Lately, he hangs around here, hoping that some of the things he learned can be useful to others.

Comments and Discussions