You are not logged in.

#1 2006-02-20 17:04:08

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

command line arguments C++ parsing library [SOLVED]

Hi,

i'm looking for such a library. Requrements:

1. usage/flag list generaton
2. support of -s and --long flags
3. simpliciry of use
4. support of optional and mandatory flags
5, support of flagw with/without arguments (-f, -f 123)
6. code free to use in commerical usage too
7. C++ (!++!)

Any suggestions/reccomendations?

Thanks a lot

Offline

#2 2006-02-20 19:33:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: command line arguments C++ parsing library [SOLVED]

Boost is the de-facto standard for stuff like this.  Take a look at boost::program_options

Offline

#3 2006-02-21 06:22:10

drakosha
Member
Registered: 2006-01-03
Posts: 253
Website

Re: command line arguments C++ parsing library [SOLVED]

10x a lot.

Offline

Board footer

Powered by FluxBB