Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Ed Cc: cygwin AT cygwin DOT com In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-okFf5Gpu0V2/tq8+GOBc" 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--