This one is from a C++ program
Try to launch me with some options
(type sample1 --help for the complete list)
For example: ./sample1 *.* --funct-opt
Here are the options you passed...
file: cmdline1.c
file: cmdline2.c
This is the integer you input: 10.
The flag option was given!
The flag is on.
Hello! Have a nice day! :-)
This one is from a C++ program
Try to launch me with some options
(type sample1 --help for the complete list)
For example: ./sample1 *.* --funct-opt
sample1 2.0

Usage: sample1 -iINT|--int-opt=INT [-h|--help] [-V|--version] -sfilename|--str-opt=filename -mINT|--my-opt=INT [--flag-opt] [-F|--funct-opt] --long-opt=LONG --def-opt=STRING  [FILES]...

  -h, --help              Print help and exit
  -V, --version           Print version and exit
  -s, --str-opt=filename  A string option, for a filename
  -m, --my-opt=INT        Another integer option, this time the description of 
                            the option should be quite long to require 
                            wrapping... possibly more than one wrapping :-) 
                            especially if I
                            require a line break
  -i, --int-opt=INT       A int option

more involved options:
  the following options
  are more complex
      --flag-opt          A flag option  (default=off)
  -F, --funct-opt         A function option

last option section:
      --long-opt=LONG     A long option
      --def-opt=STRING    A string option with default  (default=`Hello')
Here is the version
sample2 2.0
This is a simple test for gengetopt
sample2 2.0

Purpose:
  this is just a test program for gengetopt

Usage: sample2 [OPTIONS]... [FILES]...

  -h, --help                    Print help and exit
  -V, --version                 Print version and exit
  -s, --str-opt=STRING          A string option
  -i, --int-opt=INT             A int option
  -S, --short-opt=SHORT         A short option
  -l, --long-opt=LONG           A long option
  -f, --float-opt=FLOAT         A float option
  -d, --double-opt=DOUBLE       A double option
  -L, --long-double-opt=LONGDOUBLE
                                A long double option
  -y, --long-long-opt=LONGLONG  A long long option
  -F, --func-opt                A function option
  -x, --flag-opt                A flag option  (default=off)
