Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C++

Cross-platform Command Line Argument and Option Parsing (Plus File Glob)

Rate me:
Please Sign up or sign in to vote.
4.71/5 (38 votes)
15 Mar 2011MIT5 min read 135.3K   120  
Parse almost any of the standard command line formats to extract arguments and options with the same code on both Windows and Un*x. Includes full processing of filename wildcards (glob). Fully MBCS and Unicode enabled.

Views

Daily Counts

License

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


Written By
Software Developer
Australia Australia
Must eat, enjoy travel, thus programming since 1995. Donations of canned food gladly accepted.

Comments and Discussions