superGetOpt
===========

SuperGetOpt is a printf-like getopt replacement for command line argument handling.

The supergetopt library makes it very easy to handle all kinds of command-line arguments in a printf()-style way.
All types of command-line arguments are supported and all user-supplied values are checked for type validity.

If you have been searching for an easy-to-use, flexible, portable command-line and general use parser, this is it!

A Simple Example:
=================


int main( int argc, char *argv[] )
{
int n, argPos;
float yourFloat;
int yourInt;
char *yourString;

n = superGetOpt( argc, argv, &argPos, "-YourFlag %f%s%d", &yourFloat, yourString, &yourInt, "Help Message", NULL );

return(n);
}


It's that easy. No header files to create, no argument order to concern yourself with.
Please read the testSuperGetOpt.c example and you'll fully understand.

Features

  • printf-style argument handling
  • easy-to-use syntax
  • intuitive
  • lightweight
  • C/C++ support

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow superGetOpt (a getopt replacement)

superGetOpt (a getopt replacement) Web Site

Other Useful Business Software
Desktop and Mobile Device Management Software Icon
Desktop and Mobile Device Management Software

It's a modern take on desktop management that can be scaled as per organizational needs.

Desktop Central is a unified endpoint management (UEM) solution that helps in managing servers, laptops, desktops, smartphones, and tablets from a central location.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

Be the first to post a review of superGetOpt (a getopt replacement)!

Additional Project Details

User Interface

Other toolkit

Programming Language

C++, C

Related Categories

C++ Libraries, C Libraries

Registered

2010-09-20