Changeset 0fc536 in git


Ignore:
Timestamp:
Apr 21, 2006, 4:19:16 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
6b503cf35c050c03092ac141a3f9b454cd8c8bc9
Parents:
3460fe4e8dcecac2c6c9ac0f5b8683d18ac5d08f
Message:
*hannes: endl difficulties


git-svn-id: file:///usr/local/Singular/svn/trunk@9066 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • IntegerProgramming/solve_IP.cc

    r3460fe r0fc536  
    6868
    6969        // When reaching this line, the version argument was invalid.
    70         cerr<<"ERROR: invalid version argument"<<endl
    71             <<"Type `solve_IP --help' for help on options."<<endl;
     70        cerr<<"ERROR: invalid version argument\n"
     71            <<"Type `solve_IP --help' for help on options.\n";
    7272        return 1;
    7373      }
     
    142142          // argument was no float
    143143        {
    144           cerr<<"ERROR: invalid argument for interreduction percentage"<<endl
    145               <<"Type `solve_IP --help' for help on options."<<endl;
     144          cerr<<"ERROR: invalid argument for interreduction percentage\n"
     145              <<"Type `solve_IP --help' for help on options.\n";
    146146          return 1;
    147147        }
     
    165165
    166166        // When reaching this line, the algorithm argument was invalid.
    167         cerr<<"ERROR: unkwon algorithm"<<endl
    168             <<"Type `solve_IP --help' for help on options."<<endl;
     167        cerr<<"ERROR: unkwon algorithm\n"
     168            <<"Type `solve_IP --help' for help on options.\n";
    169169        return 1;
    170170      }
    171171
    172172      // When reaching this line, the argument is no legal option.
    173       cerr<<"ERROR: invalid option "<<argv[i]<<endl
    174           <<"Type `solve_IP --help' for help on options."<<endl;
     173      cerr<<"ERROR: invalid option "<<argv[i]
     174          <<"\nType `solve_IP --help' for help on options.\n";
    175175      return 1;
    176176    }
     
    184184    if(!first_input)
    185185    {
    186       cerr<<"ERROR: cannot open first input file, possibly not found"<<endl;
     186      cerr<<"ERROR: cannot open first input file, possibly not found\n";
    187187      return 1;
    188188    }
     
    193193    if(!second_input)
    194194    {
    195       cerr<<"ERROR: cannot open second input file, possibly not found"<<endl;
     195      cerr<<"ERROR: cannot open second input file, possibly not found\n";
    196196      return 1;
    197197    }
     
    207207      {
    208208        cerr<<"ERROR: first input file is a MATRIX file;\n"
    209           "algorithm has to be specified"<<endl;
     209          "algorithm has to be specified\n";
    210210        return 1;
    211211      }
     
    241241      {
    242242        cerr<<"ERROR: could not perform required IP-algorithm,\n"
    243           "no GROEBNER file created"<<endl;
     243          "no GROEBNER file created\n";
    244244        return 1;
    245245      }
     
    272272        // GROEBNER file
    273273        cerr<<"WARNING: program called with a GROEBNER file,\n"
    274           "specified options will not have any effect"<<endl;
     274          "specified options will not have any effect\n";
    275275          return(!solve(argv[argc-1],argv[argc-2]));
    276276    }
     
    291291  else
    292292    // invalid arguments
    293     cerr<<"USAGE: solve_IP [options] toric_file problem_file"<<endl
    294         <<"Type `solve_IP --help' for help on options."<<endl;
     293    cerr<<"USAGE: solve_IP [options] toric_file problem_file\n"
     294        <<"Type `solve_IP --help' for help on options.\n";
    295295
    296296  return 1;
Note: See TracChangeset for help on using the changeset viewer.