Getopt Sample News
Status: Beta
Brought to you by:
whyglinux
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.