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

You Might Also Like
Employee monitoring software with screenshots Icon
Employee monitoring software with screenshots

Clear visibility and insights into how employees work. Even remotely

Our computer monitoring software allows employees, field contractors, and freelancers to manually clock in when they begin working on an assignment. The application will take screenshots randomly or at set intervals, which allows employers to observe the work process. The application only tracks activity when the employee is clocked in. No spying, only transparency.
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