Reputation: 13220
In C++, is there a well done, complete, open source implementation of a utility to parse the parameters of the main() function?
I wrote my own, and I saw many others around. But I was wandering if there is a better implementation available, which provides all the features expected from the corresponding executable.
Upvotes: 6
Views: 1809
Reputation: 258648
Boost provides an open-source implementation with ProgramOptions.
Upvotes: 5
Reputation: 1133
Take a look at this framework: CmdLine: a C++ option-parsing framework
Upvotes: 1