demo/arg_parser_demo.cc
changeset 451 fbd6e04acf44
parent 209 765619b7cbb2
child 440 88ed40ad0d4f
equal deleted inserted replaced
5:76973f8122c5 6:1cf3717d10fa
    25 /// \include arg_parser_demo.cc
    25 /// \include arg_parser_demo.cc
    26 
    26 
    27 #include <lemon/arg_parser.h>
    27 #include <lemon/arg_parser.h>
    28 
    28 
    29 using namespace lemon;
    29 using namespace lemon;
    30 int main(int argc, const char **argv)
    30 int main(int argc, char **argv)
    31 {
    31 {
    32   // Initialize the argument parser
    32   // Initialize the argument parser
    33   ArgParser ap(argc, argv);
    33   ArgParser ap(argc, argv);
    34   int i;
    34   int i;
    35   std::string s;
    35   std::string s;