We aggregate information from all open source repositories to provide the most of useful open source products, from Enterprise product to small libraries across all platforms. Please search and find what you want.

superGetOpt (a getopt replacement)

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.

The SourceForge Speed Test measures Latency/Ping, Jitter, Download Speed, Upload Speed, Buffer Bloat, and Packet Loss. Upon completion, you can view detailed reports about your connection. This HTML5 speed test does not require Flash or Java, and works on all devices including tablets and smartphones. Host on your own infrastructure or use ours. For licensing, inquire today.

Website https://supergetopt.sourceforge.io
Tags
License
Features
  • printf-style argument handling
  • easy-to-use syntax
  • intuitive
  • lightweight
  • C/C++ support