14 {
"PLICP", 3,
"a new algorithm"},
15 {
"ICP", 4,
"the standard"},
16 {
"MbICP", 5,
"good for rotations"}, {0,0,0}
19 int main(
int argc,
const char*argv[]) {
32 printf(
"A simple program.\n\nUsage:\n");
37 printf(
"i: %d \n", p.
a_int);
39 printf(
"s: %s \n", p.
file);
void options_banner(const char *message)
void options_double(struct option *, const char *name, double *p, double def_value, const char *desc)
struct option_alternative alt[4]
int main(int argc, const char *argv[])
struct option * options_allocate(int n)
void options_int(struct option *, const char *name, int *p, int def_value, const char *desc)
void options_print_help(struct option *options, FILE *f)
void options_alternative(struct option *, const char *name, struct option_alternative *alt, int *value, const char *desc)
void options_string(struct option *, const char *name, const char **p, const char *def_balue, const char *desc)
int options_parse_args(struct option *ops, int argc, const char *argv[])