Getopt Sample 1.0

License: Free ‎File size: N/A
‎Users Rating: 4.0/5 - ‎2 ‎votes

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.

VERSION HISTORY

  • Version 1.0 posted on 2007-07-27
    Several fixes and updates
  • Version 1.0 posted on 2007-07-27

Program Details