This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
/* ******************************************************************** | |
* An even more comprehensive command-line parsing mechanism. This method | |
* allows the program to have long options (--name=value) short options | |
* (-n value or -nvalue or -abcnvalue) mixed with non-options (arguments | |
* without a '-' or '--'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
/* ***************************************************************** | |
* A more robust command-line handling function than I normally use. | |
* There are only two functions, so this is suitable for copying and | |
* pasting into the file containing main(). |
NewerOlder