COIN-OR::LEMON - Graph Library

Changeset 209:765619b7cbb2 in lemon-main for demo/arg_parser_demo.cc


Ignore:
Timestamp:
07/13/08 20:51:02 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Apply unify-sources.sh to the source tree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/arg_parser_demo.cc

    r204 r209  
    1 /* -*- C++ -*-
     1/* -*- mode: C++; indent-tabs-mode: nil; -*-
    22 *
    3  * This file is a part of LEMON, a generic C++ optimization library
     3 * This file is a part of LEMON, a generic C++ optimization library.
    44 *
    55 * Copyright (C) 2003-2008
     
    6565  ap.other("infile", "The input file.")
    6666    .other("...");
    67  
     67
    6868  // Perform the parsing process
    6969  // (in case of any error it terminates the program)
     
    8585  if(ap.given("grb")) std::cout << "  -grb is given\n";
    8686  if(ap.given("grc")) std::cout << "  -grc is given\n";
    87  
     87
    8888  switch(ap.files().size()) {
    8989  case 0:
     
    9595  default:
    9696    std::cout << "  "
    97               << ap.files().size() << " file arguments were given. They are:\n";
     97              << ap.files().size() << " file arguments were given. They are:\n";
    9898  }
    9999  for(unsigned int i=0;i<ap.files().size();++i)
    100100    std::cout << "    '" << ap.files()[i] << "'\n";
    101  
     101
    102102  return 0;
    103103}
Note: See TracChangeset for help on using the changeset viewer.