superGetOpt (a getopt replacement)

This is the Linux app named superGetOpt (a getopt replacement) whose latest release can be downloaded as supergetopt2_4_src.zip. It can be run online in the free hosting provider OnWorks for workstations.

 
 

Download and run online this app named superGetOpt (a getopt replacement) with OnWorks for free.

Follow these instructions in order to run this app:

- 1. Downloaded this application in your PC.

- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 3. Upload this application in such filemanager.

- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.

- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 6. Download the application, install it and run it.

superGetOpt (a getopt replacement)



DESCRIPTION:

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

User interface

Other toolkit


Programming Language

C++, C



This is an application that can also be fetched from https://sourceforge.net/projects/supergetopt/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.



Latest Linux & Windows online programs


Categories to download Software & Programs for Windows & Linux