PROGRAMS BY getopt-sample.sf.net
-
Getopt Sample Free
The sample code shows how to use the getopt() function to parse the command-line options in a C or C++ program. Options may have no argument at all, or have one or more arguments.