delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/21/23:44:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: what to use in g++ instead of GetOpt?
From: Robert Collins <rbcollins AT cygwin DOT com>
To: Ed <ed AT telestoconsulting DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <uy96ilq9r.fsf@telestoconsulting.com>
References: <uy96ilq9r DOT fsf AT telestoconsulting DOT com>
Date: 22 Dec 2002 15:44:20 +1100
Message-Id: <1040532260.7654.64.camel@lifelesswks>
Mime-Version: 1.0

--=-okFf5Gpu0V2/tq8+GOBc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2002-12-22 at 13:51, Ed wrote:
> Howdy all!
>=20
> In the old days of libg++ there was something called GetOpt to help
> parse command line options. In these days of stdlibc++ it seems to be
> gone.
>=20
> What are well-dressed C++ programmers using to parse their command
> lines these days?

I use libgetopt++, a C++ library I put together and am extending as
needed to do just.

Current capabilities:
*) distributed option declaration (ie plugins can list options too).
*) multiple co existing option sets.
*) boolean and string option type predeclared.
*) callbacks occur for non option arguments.

There is a CVS repository at sources.redhat.com/cvs/libgetopt++

Cheers,
Rob

--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---


--=-okFf5Gpu0V2/tq8+GOBc
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+BUMkI5+kQ8LJcoIRAjS2AJ4tgqCR/PBnWFuTN07GYeXwFs+zXgCfaIPL
wnjkz/iLWtrwTALn3swjU9A=
=ghgA
-----END PGP SIGNATURE-----

--=-okFf5Gpu0V2/tq8+GOBc--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019