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
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ Icon
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ

Create IT quote templates, automate workflows, add integrations & price catalogs to save time & reduce errors on manual data entry & updates.

ConnectWise CPQ, formerly ConnectWise Sell, is a professional quote and proposal automation software for IT solution providers. ConnectWise CPQ offers a wide range of tools that enables IT solution providers to save time, quote more, and win big. Top features include professional quote or proposal templates, product catalog and sourcing, workflow automation, sales reporting, and integrations with best-in-breed solutions like Cisco, Dell, HP, and Salesforce.
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

  • This makes life really easy for argument handling. Love it.
Read more reviews >

Additional Project Details

User Interface

Other toolkit

Programming Language

C++, C

Related Categories

C++ Libraries, C Libraries

Registered

2010-09-20