Top > All Packages in Directory > Arguments

Arguments - Assists with command line argument processing

Arguments is a small C++ class to handle command line arguments. Versions exist for C++ and Java. It is a simpler alternative to getopts().

Arguments takes the traditional argc and argv which are passed to main() and puts them into an ordered data structure. It lets you ask if specific arguments were passed to your program, and automatically extract the values of those arguments into any object type that support the istream>> operator. (e.g. bool, char, int, float, double, std::string, etc).

This is a better wasy of organizing the arguments passed to your program, and is far easier to work with than trying to manually convert argv's (char*) pointers to these other types.

Obtaining

Web pagehttp://www.aiksaurus.com/~jared/arguments/
Source tarballhttp://www.aiksaurus.com/~jared/arguments/dist/arguments_11tar.gz
Source informationhttp://www.aiksaurus.com/~jared/arguments/dist/
Version 11 (stable) released on 2003-03-26
Licensed under GPL.
This is not a GNU package.

Support contacts

Help List<jared@aiksaurus.com>
Developer List<jared@aiksaurus.com>
Bug List<jared@aiksaurus.com>

Project contacts

Maintainers
Developers

Related information

Interfacescommand line
Source languagesC++

Entry information

License verified byJanet Casey <jcasey@gnu.org> on 2002-08-07
Entry compiled byJanet Casey <jcasey@gnu.org>

Categories



The copyright licensing notice below applies to this text. The software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Copyright © 2000, 2001, 2002, 2003 Free Software Foundation, Inc.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of this license is included in the file COPYING.DOC.

Please report any problems in this page to bug-directory@gnu.org, or find out how you can help fix them.

The FSF provides this directory as a service to the free software community. Please consider donating to the FSF to help support this project.