MPSolve 3.2.1
Loading...
Searching...
No Matches
mps_opt Struct Reference

Struct holding the options passed on the command line. More...

#include <options.h>

Public Attributes

char optchar
 
char * optvalue
 

Detailed Description

Struct holding the options passed on the command line.

Typical usage is something like this:

mps_opt* opt;
while (opt = mps_getopt(&argc, &argv, format))
{
switch(opt->optchar)
{
case 'a':
[...]
break;
case 'n':
n = atoi(opt->opvalue);
break;
}
free(opt);
}
Struct holding the options passed on the command line.
Definition: options.h:97
See also
mps_getopts()

The documentation for this struct was generated from the following file: